testcentricity_web 4.4.2 → 4.4.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e92bc217ff919e7d3d53cd50cf535636d62e13a71314608d2942c104e3438a29
4
- data.tar.gz: 2a7aeb90967173c977ceddf1cc61f3f10e17d5d4420a2cf666b53431d9482907
3
+ metadata.gz: a8c968e47a6f1c58903fd78ecacef42a3a6897714fba982cdde8045c2079f80a
4
+ data.tar.gz: 3d863cb52a2384e6fdeb3128425797ebe9e42d6f53f58d222d3b4e680b19fec1
5
5
  SHA512:
6
- metadata.gz: f9cabcb32923ec4a5fb41bcc469ceb27118900b5feb54f88d16d623c8b70ecef2a80ecce52f12716ae629dee9b0fd6ed7b97971cb1c3c5878dc2b54d532cf4b6
7
- data.tar.gz: 2b112b60bee132159ef62204065976ff92ee28b60c47c007946a2501831d9c18f34230338fedadac266dd76f80ac411354f44b07ac6c76c0982c91c9d5bd3665
6
+ metadata.gz: 382f74e7baf7e34f7e2a02b602a91eb00029ced5bc518ddf967298ea95e18050592c03b51692372cf55b8f879d599155d07b1eaf5590d5c7a4376ee905613165
7
+ data.tar.gz: cd88dbd29452dcf44294a775e48ba939578cc2f1936229d630fffecaaf7afa0c2082e8b8ff2b6f1d530462d700e70128ab8f695587538872ef6724c2eecbb232
data/CHANGELOG.md CHANGED
@@ -2,7 +2,13 @@
2
2
  All notable changes to this project will be documented in this file.
3
3
 
4
4
 
5
- ## [4.4.2] - 22-DEC-2023
5
+ ## [4.4.3] - 24-DEC-2023
6
+
7
+ ### Changed
8
+ * Changed Sauce Labs `DATA_CENTER` Environment Variable to `SL_DATA_CENTER`.
9
+
10
+
11
+ ## [4.4.2] - 23-DEC-2023
6
12
 
7
13
  ### Added
8
14
  * Added support for specifying and connecting to web browsers on unsupported cloud hosting services using `custom` user-
data/README.md CHANGED
@@ -2327,7 +2327,7 @@ the following **Environment Variables** must be set as described in the table be
2327
2327
  | `DRIVER` | Must be set to `saucelabs` |
2328
2328
  | `SL_USERNAME` | Must be set to your Sauce Labs account user name or email address |
2329
2329
  | `SL_AUTHKEY` | Must be set to your Sauce Labs account access key |
2330
- | `DATA_CENTER` | Must be set to your Sauce Labs account Data Center assignment (`us-west-1`, `eu-central-1`, `apac-southeast-1`) |
2330
+ | `SL_DATA_CENTER` | Must be set to your Sauce Labs account Data Center assignment (`us-west-1`, `eu-central-1`, `apac-southeast-1`) |
2331
2331
  | `SL_OS` | Refer to `platformName` capability in the Config Script section of the Platform Configurator page |
2332
2332
  | `SL_BROWSER` | Must be set to `chrome`, `firefox`, `safari`, `internetExplorer`, or `MicrosoftEdge` |
2333
2333
  | `SL_VERSION` | Refer to `browserVersion` capability in the Config Script section of the Platform Configurator page |
@@ -2363,11 +2363,11 @@ When using the `options` hash, the following options and capabilities must be sp
2363
2363
 
2364
2364
  ℹ️ If an `endpoint:` is not specified in the `options` hash, then the default remote endpoint URL will be set to the following:
2365
2365
 
2366
- `https://#{ENV['SL_USERNAME']}:#{ENV['SL_AUTHKEY']}@ondemand.#{ENV['DATA_CENTER']}.saucelabs.com:443/wd/hub`
2366
+ `https://#{ENV['SL_USERNAME']}:#{ENV['SL_AUTHKEY']}@ondemand.#{ENV['SL_DATA_CENTER']}.saucelabs.com:443/wd/hub`
2367
2367
 
2368
2368
  This default endpoint requires that the `SL_USERNAME` Environment Variable is set to your Sauce Labs account user name, the
2369
- `SL_AUTHKEY` Environment Variable is set to your Sauce Labs access key, and the `DATA_CENTER` Environment Variable is set to
2370
- your Sauce Labs account Data Center assignment (`us-west-1`, `eu-central-1`, `apac-southeast-1`).
2369
+ `SL_AUTHKEY` Environment Variable is set to your Sauce Labs access key, and the `SL_DATA_CENTER` Environment Variable is
2370
+ set to your Sauce Labs account Data Center assignment (`us-west-1`, `eu-central-1`, `apac-southeast-1`).
2371
2371
 
2372
2372
  Below is an example of an `options` hash for specifying a connection to the latest version of an Edge desktop web browser
2373
2373
  running on macOS Ventura hosted on Sauce Labs. The `options` hash includes options for specifying the driver name, setting
@@ -2418,7 +2418,7 @@ the following **Environment Variables** must be set as described in the table be
2418
2418
  | `DEVICE_TYPE` | Must be set to `phone` or `tablet` |
2419
2419
  | `SL_USERNAME` | Must be set to your Sauce Labs account user name or email address |
2420
2420
  | `SL_AUTHKEY` | Must be set to your Sauce Labs account access key |
2421
- | `DATA_CENTER` | Must be set to your Sauce Labs account Data Center assignment (`us-west-1`, `eu-central-1`, `apac-southeast-1`) |
2421
+ | `SL_DATA_CENTER` | Must be set to your Sauce Labs account Data Center assignment (`us-west-1`, `eu-central-1`, `apac-southeast-1`) |
2422
2422
  | `ORIENTATION` | [Optional] Set to `PORTRAIT` or `LANDSCAPE` |
2423
2423
 
2424
2424
 
@@ -2456,11 +2456,11 @@ When using the `options` hash, the following options and capabilities must be sp
2456
2456
 
2457
2457
  ℹ️ If an `endpoint:` is not specified in the `options` hash, then the default remote endpoint URL will be set to the following:
2458
2458
 
2459
- `https://#{ENV['SL_USERNAME']}:#{ENV['SL_AUTHKEY']}@ondemand.#{ENV['DATA_CENTER']}.saucelabs.com:443/wd/hub`
2459
+ `https://#{ENV['SL_USERNAME']}:#{ENV['SL_AUTHKEY']}@ondemand.#{ENV['SL_DATA_CENTER']}.saucelabs.com:443/wd/hub`
2460
2460
 
2461
2461
  This default endpoint requires that the `SL_USERNAME` Environment Variable is set to your Sauce Labs account user name, the
2462
- `SL_AUTHKEY` Environment Variable is set to your Sauce Labs access key, and the `DATA_CENTER` Environment Variable is set to
2463
- your Sauce Labs account Data Center assignment (`us-west-1`, `eu-central-1`, `apac-southeast-1`).
2462
+ `SL_AUTHKEY` Environment Variable is set to your Sauce Labs access key, and the `SL_DATA_CENTER` Environment Variable is
2463
+ set to your Sauce Labs account Data Center assignment (`us-west-1`, `eu-central-1`, `apac-southeast-1`).
2464
2464
 
2465
2465
  Below is an example of an `options` hash for specifying a connection to a mobile Safari web browser running on an iPad
2466
2466
  tablet hosted on Sauce Labs. The `options` hash includes options for specifying the driver name, and capabilities for setting
@@ -2690,7 +2690,7 @@ When using the `options` hash, the following options and capabilities must be sp
2690
2690
  browserName: browser_name_from_chart,
2691
2691
  browserVersion: browser_version_from_chart,
2692
2692
  'LT:Options': {
2693
- userName: lt_account_user_name,
2693
+ username: lt_account_user_name,
2694
2694
  accessKey: lt_account_access_key,
2695
2695
  platformName: platformName_from_chart
2696
2696
  }
@@ -2722,7 +2722,7 @@ test configuration options.
2722
2722
  browserVersion: '119.0',
2723
2723
  'LT:Options': {
2724
2724
  platformName: 'macOS Sonoma',
2725
- userName: ENV['LT_USERNAME'],
2725
+ username: ENV['LT_USERNAME'],
2726
2726
  accessKey: ENV['LT_AUTHKEY'],
2727
2727
  project: 'ALP AP',
2728
2728
  build: "Test Build {ENV['BUILD_NUM']}",
@@ -2993,7 +2993,7 @@ with access to your version control system.
2993
2993
  # access to your version control system
2994
2994
  #==============
2995
2995
 
2996
- saucelabs: DRIVER=saucelabs SL_USERNAME="<INSERT USER NAME HERE>" SL_AUTHKEY="<INSERT PASSWORD HERE>" DATA_CENTER="<INSERT DATA CENTER HERE"
2996
+ saucelabs: DRIVER=saucelabs SL_USERNAME="<INSERT USER NAME HERE>" SL_AUTHKEY="<INSERT PASSWORD HERE>" SL_DATA_CENTER="<INSERT DATA CENTER HERE"
2997
2997
  sl_desktop: --profile saucelabs <%= desktop %>
2998
2998
  sl_mobile: --profile saucelabs <%= mobile %>
2999
2999
 
@@ -1,3 +1,3 @@
1
1
  module TestCentricityWeb
2
- VERSION = '4.4.2'
2
+ VERSION = '4.4.3'
3
3
  end
@@ -582,7 +582,7 @@ module TestCentricity
582
582
  end
583
583
  # specify endpoint url
584
584
  if @endpoint.nil?
585
- @endpoint = "https://#{ENV['SL_USERNAME']}:#{ENV['SL_AUTHKEY']}@ondemand.#{ENV['DATA_CENTER']}.saucelabs.com:443/wd/hub"
585
+ @endpoint = "https://#{ENV['SL_USERNAME']}:#{ENV['SL_AUTHKEY']}@ondemand.#{ENV['SL_DATA_CENTER']}.saucelabs.com:443/wd/hub"
586
586
  end
587
587
  # define SauceLab options
588
588
  options = if @capabilities.nil?
@@ -653,15 +653,16 @@ module TestCentricity
653
653
  Environ.os = ENV['LT_OS']
654
654
  # define the required set of LambdaTest options
655
655
  lt_options = {
656
- user: ENV['LT_USERNAME'],
656
+ username: ENV['LT_USERNAME'],
657
657
  accessKey: ENV['LT_AUTHKEY'],
658
- build: test_context_message,
659
658
  platformName: ENV['LT_OS'],
660
659
  resolution: ENV['RESOLUTION'],
660
+ name: test_context_message,
661
661
  selenium_version: '4.13.0',
662
662
  }
663
663
  # define the optional LambdaTest options
664
- lt_options[:name] = ENV['AUTOMATE_PROJECT'] if ENV['AUTOMATE_PROJECT']
664
+ lt_options[:project] = ENV['AUTOMATE_PROJECT'] if ENV['AUTOMATE_PROJECT']
665
+ lt_options[:build] = ENV['AUTOMATE_BUILD'] if ENV['AUTOMATE_BUILD']
665
666
  lt_options[:headless] = ENV['HEADLESS'] if ENV['HEADLESS']
666
667
  lt_options[:timezone] = ENV['TIME_ZONE'] if ENV['TIME_ZONE']
667
668
  lt_options[:geoLocation] = ENV['GEO_LOCATION'] if ENV['GEO_LOCATION']
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: testcentricity_web
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.4.2
4
+ version: 4.4.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - A.J. Mrozinski
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-12-23 00:00:00.000000000 Z
11
+ date: 2023-12-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler