testcentricity_web 4.4.3 → 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: a8c968e47a6f1c58903fd78ecacef42a3a6897714fba982cdde8045c2079f80a
4
- data.tar.gz: 3d863cb52a2384e6fdeb3128425797ebe9e42d6f53f58d222d3b4e680b19fec1
3
+ metadata.gz: 402ddb0f84e47ab7235c9c94964a17771028d35ab63f5fd808e2e2a5bbd921d3
4
+ data.tar.gz: 4e57b15e56214e9a4f0007efa87292a87510c247212e99eb6e02d231810614bb
5
5
  SHA512:
6
- metadata.gz: 382f74e7baf7e34f7e2a02b602a91eb00029ced5bc518ddf967298ea95e18050592c03b51692372cf55b8f879d599155d07b1eaf5590d5c7a4376ee905613165
7
- data.tar.gz: cd88dbd29452dcf44294a775e48ba939578cc2f1936229d630fffecaaf7afa0c2082e8b8ff2b6f1d530462d700e70128ab8f695587538872ef6724c2eecbb232
6
+ metadata.gz: 5ebdda9ab20659fcdaded775e2d8d710b4aecf8a337c7e6e1d72220384942d13b5694afcb32aae3a78bf3562ca3004a242772b6ad1f9d1eb3f41640f28a31067
7
+ data.tar.gz: 477040485d47836f8994d37db199cf5f5e8163fe9119fdbb72804a32d3322d5513837079cdd27d5b0f764c758b38d286a86a4b8c0e3971e1f8532e4fc7f1f9be
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.
@@ -2358,12 +2372,12 @@ 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['SL_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
2383
  `SL_AUTHKEY` Environment Variable is set to your Sauce Labs access key, and the `SL_DATA_CENTER` Environment Variable is
@@ -2451,12 +2465,12 @@ 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['SL_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
2476
  `SL_AUTHKEY` Environment Variable is set to your Sauce Labs access key, and the `SL_DATA_CENTER` Environment Variable is
@@ -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.
@@ -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.
@@ -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
 
@@ -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.3'
2
+ VERSION = '4.4.3.1'
3
3
  end
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.3
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-24 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