testcentricity_web 4.4.2 → 4.4.3.1

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: 402ddb0f84e47ab7235c9c94964a17771028d35ab63f5fd808e2e2a5bbd921d3
4
+ data.tar.gz: 4e57b15e56214e9a4f0007efa87292a87510c247212e99eb6e02d231810614bb
5
5
  SHA512:
6
- metadata.gz: f9cabcb32923ec4a5fb41bcc469ceb27118900b5feb54f88d16d623c8b70ecef2a80ecce52f12716ae629dee9b0fd6ed7b97971cb1c3c5878dc2b54d532cf4b6
7
- data.tar.gz: 2b112b60bee132159ef62204065976ff92ee28b60c47c007946a2501831d9c18f34230338fedadac266dd76f80ac411354f44b07ac6c76c0982c91c9d5bd3665
6
+ metadata.gz: 5ebdda9ab20659fcdaded775e2d8d710b4aecf8a337c7e6e1d72220384942d13b5694afcb32aae3a78bf3562ca3004a242772b6ad1f9d1eb3f41640f28a31067
7
+ data.tar.gz: 477040485d47836f8994d37db199cf5f5e8163fe9119fdbb72804a32d3322d5513837079cdd27d5b0f764c758b38d286a86a4b8c0e3971e1f8532e4fc7f1f9be
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/LICENSE.md CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2014-2023, Tony Mrozinski
1
+ Copyright (c) 2014-2024, Tony Mrozinski
2
2
  All rights reserved.
3
3
 
4
4
  Redistribution and use in source and binary forms, with or without
data/README.md CHANGED
@@ -38,6 +38,19 @@ An example project that demonstrates the implementation of a page object model f
38
38
  can be found [here](https://github.com/TestCentricity/tc_web_sample).
39
39
 
40
40
 
41
+ ### Which gem should I use?
42
+
43
+ * The TestCentricity **Web** gem only supports testing of web interfaces via desktop and mobile web browsers
44
+ * The TestCentricity **Mobile** gem only supports testing of native iOS and/or Android mobile apps
45
+ * The TestCentricity gem supports testing of native mobile apps and/or web interfaces via desktop and mobile web browsers.
46
+
47
+ | Tested platforms | TestCentricity Web | TestCentricity Mobile | TestCentricity |
48
+ |----------------------------------------------------|--------------------|-----------------------|----------------|
49
+ | Desktop/mobile web browsers only | Yes | No | No |
50
+ | Native mobile iOS and/or Android apps only | No | Yes | No |
51
+ | Native mobile apps and desktop/mobile web browsers | No | No | Yes |
52
+
53
+
41
54
  ## Installation
42
55
 
43
56
  TestCentricity Web version 4.4 and above requires Ruby version 3.0.0 or later. To install the TestCentricity Web gem, add
@@ -1588,7 +1601,7 @@ When using the `options` hash, the following options and capabilities must be sp
1588
1601
  }
1589
1602
  WebDriverConnect.initialize_web_driver(options)
1590
1603
  ```
1591
- ℹ️ If an optional user defined `driver_name:` is not specified in the `options` hash, the default driver name will be set to
1604
+ > ℹ️ If an optional user defined `driver_name:` is not specified in the `options` hash, the default driver name will be set to
1592
1605
  `:local_<browserName>` - e.g. `:local_chrome` or `:local_edge_headless`.
1593
1606
 
1594
1607
  Below is an example of an `options` hash for specifying a connection to a locally hosted Firefox desktop web browser. The
@@ -1661,7 +1674,7 @@ You can run your tests against mobile device browsers that are emulated within a
1661
1674
  browser on macOS or Windows. The specified mobile browser's user agent, CSS screen dimensions, and default screen orientation
1662
1675
  will be automatically set within the local Chrome browser instance. You may also specify the emulated device's screen orientation.
1663
1676
 
1664
- ⚠️ For best results when testing against mobile web browsers, you should run your tests against iOS and Android simulators
1677
+ > ⚠️ For best results when testing against mobile web browsers, you should run your tests against iOS and Android simulators
1665
1678
  or physical devices, either hosted locally or via a remotely cloud hosted service.
1666
1679
 
1667
1680
  For locally hosted emulated mobile web browsers, the `WEB_BROWSER` Environment Variable must be set to one of the values
@@ -1748,7 +1761,7 @@ To change the emulated device's screen orientation from the default setting, set
1748
1761
  }
1749
1762
  WebDriverConnect.initialize_web_driver(options)
1750
1763
 
1751
- ℹ️ If an optional user defined `driver_name:` is not specified in the `options` hash, the default driver name will be set to
1764
+ > ℹ️ If an optional user defined `driver_name:` is not specified in the `options` hash, the default driver name will be set to
1752
1765
  `:local_<browserName>` - e.g. `:local_ipad_pro_12_9` or `:local_pixel_6`.
1753
1766
 
1754
1767
  Below is an example of an `options` hash for specifying a connection to a locally hosted emulated mobile Safari web browser
@@ -1845,10 +1858,10 @@ When using the `options` hash, the following options and capabilities must be sp
1845
1858
  }
1846
1859
  WebDriverConnect.initialize_web_driver(options)
1847
1860
  ```
1848
- ℹ️ If an optional user defined `driver_name:` is not specified in the `options` hash, the default driver name will be set to
1861
+ >ℹ️ If an optional user defined `driver_name:` is not specified in the `options` hash, the default driver name will be set to
1849
1862
  `:remote_<browserName>` - e.g. `:remote_chrome` or `:remote_edge_headless`.
1850
-
1851
- ℹ️ If an `endpoint:` is not specified in the `options`hash, then the default remote endpoint URL of `http://localhost:4444/wd/hub`
1863
+ >
1864
+ > ℹ️ If an `endpoint:` is not specified in the `options`hash, then the default remote endpoint URL of `http://localhost:4444/wd/hub`
1852
1865
  will be used.
1853
1866
 
1854
1867
  Below is an example of an `options` hash for specifying a connection to a grid hosted Chrome desktop web browser. The
@@ -1939,10 +1952,10 @@ When using the `options` hash, the following options and capabilities must be sp
1939
1952
  }
1940
1953
  WebDriverConnect.initialize_web_driver(options)
1941
1954
  ```
1942
- ℹ️ If an optional user defined `driver_name:` is not specified in the `options` hash, the default driver name will be set to
1955
+ > ℹ️ If an optional user defined `driver_name:` is not specified in the `options` hash, the default driver name will be set to
1943
1956
  `appium_safari`.
1944
-
1945
- ℹ️ If an `endpoint:` is not specified in the `options` hash, then the default remote endpoint URL of `http://localhost:4723/wd/hub`
1957
+ >
1958
+ > ℹ️ If an `endpoint:` is not specified in the `options` hash, then the default remote endpoint URL of `http://localhost:4723/wd/hub`
1946
1959
  will be used.
1947
1960
 
1948
1961
  Below is an example of an `options` hash for specifying a connection to a locally hosted mobile Safari web browser running
@@ -1969,7 +1982,8 @@ orientation to portrait mode.
1969
1982
 
1970
1983
  You can run your mobile web tests against the mobile Chrome or Android browser on emulated Android devices using Appium and
1971
1984
  Android Studio on macOS. You must install Android Studio, the desired Android version-specific virtual device emulators, and
1972
- Appium. Refer to [this page](https://appium.io/docs/en/2.2/quickstart/uiauto2-driver/) for information on configuring Appium to work with the Android SDK.
1985
+ Appium. Refer to [this page](https://appium.io/docs/en/2.2/quickstart/uiauto2-driver/) for information on configuring Appium to work with the Android SDK. Refer to [this page](https://github.com/appium/appium-uiautomator2-driver)
1986
+ for information regarding specifying Appium capabilities that are specific to the UiAutomator2 driver.
1973
1987
 
1974
1988
  The Appium server must be running prior to invoking Cucumber to run your features/scenarios. Refer to [**section 8.6.3 (Starting and Stopping Appium Server)**](#starting-and-stopping-appium-server) below.
1975
1989
 
@@ -2025,10 +2039,10 @@ When using the `options` hash, the following options and capabilities must be sp
2025
2039
  }
2026
2040
  WebDriverConnect.initialize_web_driver(options)
2027
2041
  ```
2028
- ℹ️ If an optional user defined `driver_name:` is not specified in the `options` hash, the default driver name will be set to
2042
+ > ℹ️ If an optional user defined `driver_name:` is not specified in the `options` hash, the default driver name will be set to
2029
2043
  `appium_chrome`.
2030
-
2031
- ℹ️ If an `endpoint:` is not specified in the `options` hash, then the default remote endpoint URL of `http://localhost:4723/wd/hub`
2044
+ >
2045
+ > ℹ️ If an `endpoint:` is not specified in the `options` hash, then the default remote endpoint URL of `http://localhost:4723/wd/hub`
2032
2046
  will be used.
2033
2047
 
2034
2048
  Below is an example of an `options` hash for specifying a connection to a locally hosted mobile Chrome web browser running
@@ -2120,9 +2134,9 @@ method upon completion of your test suite to stop the Local instance. Place the
2120
2134
 
2121
2135
  #### Remote Desktop Browsers on the BrowserStack Service
2122
2136
 
2123
- For remotely hosted desktop web browsers on the BrowserStack service, refer to the [Browserstack-specific capabilities chart page](https://www.browserstack.com/automate/capabilities?tag=selenium-4)
2137
+ For remotely hosted desktop web browsers on the BrowserStack service, refer to the [Browserstack-specific capabilities chart page](https://www.browserstack.com/docs/automate/capabilities)
2124
2138
  for information regarding the options and capabilities available for the various supported desktop operating systems and
2125
- web browsers.
2139
+ web browsers. Select the **Legacy** Integration method tab and the **W3C Protocol** tab on the capabilities page.
2126
2140
 
2127
2141
  ##### BrowserStack Desktop Browser using Environment Variables
2128
2142
 
@@ -2172,12 +2186,12 @@ When using the `options` hash, the following options and capabilities must be sp
2172
2186
  }
2173
2187
  WebDriverConnect.initialize_web_driver(options)
2174
2188
  ```
2175
- ℹ️ If an optional user defined `driver_name:` is not specified in the `options` hash, the default driver name will be set to
2189
+ > ℹ️ If an optional user defined `driver_name:` is not specified in the `options` hash, the default driver name will be set to
2176
2190
  `:browserstack_<browserName>` - e.g. `:browserstack_chrome` or `:browserstack_safari`.
2177
-
2178
- ℹ️ If an `endpoint:` is not specified in the `options` hash, then the default remote endpoint URL will be set to the following:
2179
-
2180
- `https://#{ENV['BS_USERNAME']}:#{ENV['BS_AUTHKEY']}@hub-cloud.browserstack.com/wd/hub`
2191
+ >
2192
+ > ℹ️ If an `endpoint:` is not specified in the `options` hash, then the default remote endpoint URL will be set to the following:
2193
+ >
2194
+ > `https://#{ENV['BS_USERNAME']}:#{ENV['BS_AUTHKEY']}@hub-cloud.browserstack.com/wd/hub`
2181
2195
 
2182
2196
  This default endpoint requires that the `BS_USERNAME` Environment Variable is set to your BrowserStack account user name and
2183
2197
  the `BS_AUTHKEY` Environment Variable is set to your BrowserStack access key.
@@ -2216,9 +2230,9 @@ test configuration options.
2216
2230
 
2217
2231
  #### Remote Mobile Browsers on the BrowserStack Service
2218
2232
 
2219
- For remotely hosted mobile web browsers on the BrowserStack service, refer to the [Browserstack-specific capabilities chart page](https://www.browserstack.com/automate/capabilities?tag=selenium-4)
2233
+ For remotely hosted mobile web browsers on the BrowserStack service, refer to the [Browserstack-specific capabilities chart page](https://www.browserstack.com/docs/automate/capabilities)
2220
2234
  for information regarding the options and capabilities available for the various supported mobile operating systems, devices,
2221
- and web browsers.
2235
+ and web browsers. Select the **Legacy** Integration method tab and the **W3C Protocol** tab on the capabilities page.
2222
2236
 
2223
2237
  ##### BrowserStack Mobile Browser using Environment Variables
2224
2238
 
@@ -2269,12 +2283,12 @@ When using the `options` hash, the following options and capabilities must be sp
2269
2283
  }
2270
2284
  WebDriverConnect.initialize_web_driver(options)
2271
2285
  ```
2272
- ℹ️ If an optional user defined `driver_name:` is not specified in the `options` hash, the default driver name will be set to
2286
+ > ℹ️ If an optional user defined `driver_name:` is not specified in the `options` hash, the default driver name will be set to
2273
2287
  `:browserstack_<browserName>` - e.g. `:browserstack_chrome` or `:browserstack_safari`.
2274
-
2275
- ℹ️ If an `endpoint:` is not specified in the `options` hash, then the default remote endpoint URL will be set to the following:
2276
-
2277
- `https://#{ENV['BS_USERNAME']}:#{ENV['BS_AUTHKEY']}@hub-cloud.browserstack.com/wd/hub`
2288
+ >
2289
+ > ℹ️ If an `endpoint:` is not specified in the `options` hash, then the default remote endpoint URL will be set to the following:
2290
+ >
2291
+ > `https://#{ENV['BS_USERNAME']}:#{ENV['BS_AUTHKEY']}@hub-cloud.browserstack.com/wd/hub`
2278
2292
 
2279
2293
  This default endpoint requires that the `BS_USERNAME` Environment Variable is set to your BrowserStack account user name and
2280
2294
  the `BS_AUTHKEY` Environment Variable is set to your BrowserStack access key.
@@ -2327,7 +2341,7 @@ the following **Environment Variables** must be set as described in the table be
2327
2341
  | `DRIVER` | Must be set to `saucelabs` |
2328
2342
  | `SL_USERNAME` | Must be set to your Sauce Labs account user name or email address |
2329
2343
  | `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`) |
2344
+ | `SL_DATA_CENTER` | Must be set to your Sauce Labs account Data Center assignment (`us-west-1`, `eu-central-1`, `apac-southeast-1`) |
2331
2345
  | `SL_OS` | Refer to `platformName` capability in the Config Script section of the Platform Configurator page |
2332
2346
  | `SL_BROWSER` | Must be set to `chrome`, `firefox`, `safari`, `internetExplorer`, or `MicrosoftEdge` |
2333
2347
  | `SL_VERSION` | Refer to `browserVersion` capability in the Config Script section of the Platform Configurator page |
@@ -2358,16 +2372,16 @@ When using the `options` hash, the following options and capabilities must be sp
2358
2372
  }
2359
2373
  WebDriverConnect.initialize_web_driver(options)
2360
2374
  ```
2361
- ℹ️ If an optional user defined `driver_name:` is not specified in the `options` hash, the default driver name will be set to
2375
+ > ℹ️ If an optional user defined `driver_name:` is not specified in the `options` hash, the default driver name will be set to
2362
2376
  `:saucelabs_<browserName>` - e.g. `:saucelabs_chrome` or `:saucelabs_safari`.
2363
-
2364
- ℹ️ If an `endpoint:` is not specified in the `options` hash, then the default remote endpoint URL will be set to the following:
2365
-
2366
- `https://#{ENV['SL_USERNAME']}:#{ENV['SL_AUTHKEY']}@ondemand.#{ENV['DATA_CENTER']}.saucelabs.com:443/wd/hub`
2377
+ >
2378
+ > ℹ️ If an `endpoint:` is not specified in the `options` hash, then the default remote endpoint URL will be set to the following:
2379
+ >
2380
+ > `https://#{ENV['SL_USERNAME']}:#{ENV['SL_AUTHKEY']}@ondemand.#{ENV['SL_DATA_CENTER']}.saucelabs.com:443/wd/hub`
2367
2381
 
2368
2382
  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`).
2383
+ `SL_AUTHKEY` Environment Variable is set to your Sauce Labs access key, and the `SL_DATA_CENTER` Environment Variable is
2384
+ set to your Sauce Labs account Data Center assignment (`us-west-1`, `eu-central-1`, `apac-southeast-1`).
2371
2385
 
2372
2386
  Below is an example of an `options` hash for specifying a connection to the latest version of an Edge desktop web browser
2373
2387
  running on macOS Ventura hosted on Sauce Labs. The `options` hash includes options for specifying the driver name, setting
@@ -2418,7 +2432,7 @@ the following **Environment Variables** must be set as described in the table be
2418
2432
  | `DEVICE_TYPE` | Must be set to `phone` or `tablet` |
2419
2433
  | `SL_USERNAME` | Must be set to your Sauce Labs account user name or email address |
2420
2434
  | `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`) |
2435
+ | `SL_DATA_CENTER` | Must be set to your Sauce Labs account Data Center assignment (`us-west-1`, `eu-central-1`, `apac-southeast-1`) |
2422
2436
  | `ORIENTATION` | [Optional] Set to `PORTRAIT` or `LANDSCAPE` |
2423
2437
 
2424
2438
 
@@ -2451,16 +2465,16 @@ When using the `options` hash, the following options and capabilities must be sp
2451
2465
  }
2452
2466
  WebDriverConnect.initialize_web_driver(options)
2453
2467
  ```
2454
- ℹ️ If an optional user defined `driver_name:` is not specified in the `options` hash, the default driver name will be set to
2468
+ > ℹ️ If an optional user defined `driver_name:` is not specified in the `options` hash, the default driver name will be set to
2455
2469
  `:saucelabs_<browserName>` - e.g. `:saucelabs_chrome` or `:saucelabs_safari`.
2456
-
2457
- ℹ️ If an `endpoint:` is not specified in the `options` hash, then the default remote endpoint URL will be set to the following:
2458
-
2459
- `https://#{ENV['SL_USERNAME']}:#{ENV['SL_AUTHKEY']}@ondemand.#{ENV['DATA_CENTER']}.saucelabs.com:443/wd/hub`
2470
+ >
2471
+ > ℹ️ If an `endpoint:` is not specified in the `options` hash, then the default remote endpoint URL will be set to the following:
2472
+ >
2473
+ > `https://#{ENV['SL_USERNAME']}:#{ENV['SL_AUTHKEY']}@ondemand.#{ENV['SL_DATA_CENTER']}.saucelabs.com:443/wd/hub`
2460
2474
 
2461
2475
  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`).
2476
+ `SL_AUTHKEY` Environment Variable is set to your Sauce Labs access key, and the `SL_DATA_CENTER` Environment Variable is
2477
+ set to your Sauce Labs account Data Center assignment (`us-west-1`, `eu-central-1`, `apac-southeast-1`).
2464
2478
 
2465
2479
  Below is an example of an `options` hash for specifying a connection to a mobile Safari web browser running on an iPad
2466
2480
  tablet hosted on Sauce Labs. The `options` hash includes options for specifying the driver name, and capabilities for setting
@@ -2532,12 +2546,12 @@ When using the `options` hash, the following options and capabilities must be sp
2532
2546
  }
2533
2547
  WebDriverConnect.initialize_web_driver(options)
2534
2548
  ```
2535
- ℹ️ If an optional user defined `driver_name:` is not specified in the `options` hash, the default driver name will be set to
2549
+ > ℹ️ If an optional user defined `driver_name:` is not specified in the `options` hash, the default driver name will be set to
2536
2550
  `:testingbot_<browserName>` - e.g. `:testingbot_chrome` or `:testingbot_microsoftedge`.
2537
-
2538
- ℹ️ If an `endpoint:` is not specified in the `options` hash, then the default remote endpoint URL will be set to the following:
2539
-
2540
- `https://#{ENV['TB_USERNAME']}:#{ENV['TB_AUTHKEY']}@hub.testingbot.com/wd/hub`
2551
+ >
2552
+ > ℹ️ If an `endpoint:` is not specified in the `options` hash, then the default remote endpoint URL will be set to the following:
2553
+ >
2554
+ > `https://#{ENV['TB_USERNAME']}:#{ENV['TB_AUTHKEY']}@hub.testingbot.com/wd/hub`
2541
2555
 
2542
2556
  This default endpoint requires that the `TB_USERNAME` Environment Variable is set to your TestingBot account user name and
2543
2557
  the `TB_AUTHKEY` Environment Variable is set to your TestingBot access key.
@@ -2616,12 +2630,12 @@ When using the `options` hash, the following options and capabilities must be sp
2616
2630
  }
2617
2631
  WebDriverConnect.initialize_web_driver(options)
2618
2632
  ```
2619
- ℹ️ If an optional user defined `driver_name:` is not specified in the `options` hash, the default driver name will be set to
2633
+ > ℹ️ If an optional user defined `driver_name:` is not specified in the `options` hash, the default driver name will be set to
2620
2634
  `:testingbot_<browserName>` - e.g. `:testingbot_chrome` or `:testingbot_safari`.
2621
-
2622
- ℹ️ If an `endpoint:` is not specified in the `options` hash, then the default remote endpoint URL will be set to the following:
2623
-
2624
- `https://#{ENV['TB_USERNAME']}:#{ENV['TB_AUTHKEY']}@hub.testingbot.com/wd/hub`
2635
+ >
2636
+ > ℹ️ If an `endpoint:` is not specified in the `options` hash, then the default remote endpoint URL will be set to the following:
2637
+ >
2638
+ > `https://#{ENV['TB_USERNAME']}:#{ENV['TB_AUTHKEY']}@hub.testingbot.com/wd/hub`
2625
2639
 
2626
2640
  This default endpoint requires that the `TB_USERNAME` Environment Variable is set to your TestingBot account user name and
2627
2641
  the `TB_AUTHKEY` Environment Variable is set to your TestingBot access key.
@@ -2690,7 +2704,7 @@ When using the `options` hash, the following options and capabilities must be sp
2690
2704
  browserName: browser_name_from_chart,
2691
2705
  browserVersion: browser_version_from_chart,
2692
2706
  'LT:Options': {
2693
- userName: lt_account_user_name,
2707
+ username: lt_account_user_name,
2694
2708
  accessKey: lt_account_access_key,
2695
2709
  platformName: platformName_from_chart
2696
2710
  }
@@ -2698,12 +2712,12 @@ When using the `options` hash, the following options and capabilities must be sp
2698
2712
  }
2699
2713
  WebDriverConnect.initialize_web_driver(options)
2700
2714
  ```
2701
- ℹ️ If an optional user defined `driver_name:` is not specified in the `options` hash, the default driver name will be set to
2715
+ > ℹ️ If an optional user defined `driver_name:` is not specified in the `options` hash, the default driver name will be set to
2702
2716
  `:lambdatest_<browserName>` - e.g. `:lambdatest_chrome` or `:lambdatest_safari`.
2703
-
2717
+ >
2704
2718
  ℹ️ If an `endpoint:` is not specified in the `options` hash, then the default remote endpoint URL will be set to the following:
2705
-
2706
- `https://#{ENV['LT_USERNAME']}:#{ENV['LT_AUTHKEY']}@hub.lambdatest.com/wd/hub`
2719
+ >
2720
+ > `https://#{ENV['LT_USERNAME']}:#{ENV['LT_AUTHKEY']}@hub.lambdatest.com/wd/hub`
2707
2721
 
2708
2722
  This default endpoint requires that the `LT_USERNAME` Environment Variable is set to your LambdaTest account user name and
2709
2723
  the `LT_AUTHKEY` Environment Variable is set to your LambdaTest access key.
@@ -2722,7 +2736,7 @@ test configuration options.
2722
2736
  browserVersion: '119.0',
2723
2737
  'LT:Options': {
2724
2738
  platformName: 'macOS Sonoma',
2725
- userName: ENV['LT_USERNAME'],
2739
+ username: ENV['LT_USERNAME'],
2726
2740
  accessKey: ENV['LT_AUTHKEY'],
2727
2741
  project: 'ALP AP',
2728
2742
  build: "Test Build {ENV['BUILD_NUM']}",
@@ -2760,7 +2774,7 @@ All other required capabilities specified by the hosting service configuration d
2760
2774
  }
2761
2775
  WebDriverConnect.initialize_web_driver(options)
2762
2776
 
2763
- ℹ️ If an optional user defined `driver_name:` is not specified in the `options` hash, the default driver name will be set to
2777
+ > ℹ️ If an optional user defined `driver_name:` is not specified in the `options` hash, the default driver name will be set to
2764
2778
  `:custom_<browserName>` - e.g. `:custom_chrome` or `:custom_safari`.
2765
2779
 
2766
2780
  Prior to calling the `TestCentricity::WebDriverConnect.initialize_web_driver` method, you must set `Environ.platform` to
@@ -2842,7 +2856,7 @@ these in in your`cucumber.yml` file). Before you can use the BrowserStack, Sauce
2842
2856
  you will need to replace the *INSERT USER NAME HERE* and *INSERT PASSWORD HERE* placeholder text with your user account
2843
2857
  and authorization code for the cloud service(s) that you intend to connect with.
2844
2858
 
2845
- ⚠️ Cloud service credentials should not be stored as text in your `cucumber.yml` file where it can be exposed by anyone
2859
+ > ⚠️ Cloud service credentials should not be stored as text in your `cucumber.yml` file where it can be exposed by anyone
2846
2860
  with access to your version control system.
2847
2861
 
2848
2862
 
@@ -2993,7 +3007,7 @@ with access to your version control system.
2993
3007
  # access to your version control system
2994
3008
  #==============
2995
3009
 
2996
- saucelabs: DRIVER=saucelabs SL_USERNAME="<INSERT USER NAME HERE>" SL_AUTHKEY="<INSERT PASSWORD HERE>" DATA_CENTER="<INSERT DATA CENTER HERE"
3010
+ saucelabs: DRIVER=saucelabs SL_USERNAME="<INSERT USER NAME HERE>" SL_AUTHKEY="<INSERT PASSWORD HERE>" SL_DATA_CENTER="<INSERT DATA CENTER HERE"
2997
3011
  sl_desktop: --profile saucelabs <%= desktop %>
2998
3012
  sl_mobile: --profile saucelabs <%= mobile %>
2999
3013
 
@@ -3126,7 +3140,7 @@ area sub-folders as needed. Likewise, `PageSection` class definitions should be
3126
3140
  ---
3127
3141
  ## Copyright and License
3128
3142
 
3129
- TestCentricity™ Framework is Copyright (c) 2014-2023, Tony Mrozinski.
3143
+ TestCentricity™ Framework is Copyright (c) 2014-2024, Tony Mrozinski.
3130
3144
  All rights reserved.
3131
3145
 
3132
3146
  Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following
@@ -1,3 +1,3 @@
1
1
  module TestCentricityWeb
2
- VERSION = '4.4.2'
2
+ VERSION = '4.4.3.1'
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.1
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-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler