testcentricity_web 4.3.0 → 4.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (33) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +46 -11
  3. data/LICENSE.md +1 -1
  4. data/README.md +1931 -801
  5. data/lib/devices/devices.yml +144 -216
  6. data/lib/testcentricity_web/browser_helper.rb +33 -4
  7. data/lib/testcentricity_web/data_objects/environment.rb +96 -15
  8. data/lib/testcentricity_web/exception_queue_helper.rb +5 -6
  9. data/lib/testcentricity_web/version.rb +1 -1
  10. data/lib/testcentricity_web/web_core/page_object.rb +53 -49
  11. data/lib/testcentricity_web/web_core/page_objects_helper.rb +20 -11
  12. data/lib/testcentricity_web/web_core/page_section.rb +31 -34
  13. data/lib/testcentricity_web/web_core/webdriver_helper.rb +416 -288
  14. data/lib/testcentricity_web/web_elements/audio.rb +6 -4
  15. data/lib/testcentricity_web/web_elements/button.rb +7 -4
  16. data/lib/testcentricity_web/web_elements/checkbox.rb +149 -147
  17. data/lib/testcentricity_web/web_elements/file_field.rb +38 -36
  18. data/lib/testcentricity_web/web_elements/image.rb +75 -70
  19. data/lib/testcentricity_web/web_elements/label.rb +6 -4
  20. data/lib/testcentricity_web/web_elements/link.rb +15 -13
  21. data/lib/testcentricity_web/web_elements/list.rb +171 -169
  22. data/lib/testcentricity_web/web_elements/media.rb +384 -379
  23. data/lib/testcentricity_web/web_elements/radio.rb +135 -133
  24. data/lib/testcentricity_web/web_elements/range.rb +16 -29
  25. data/lib/testcentricity_web/web_elements/select_list.rb +247 -245
  26. data/lib/testcentricity_web/web_elements/table.rb +575 -573
  27. data/lib/testcentricity_web/web_elements/textfield.rb +143 -139
  28. data/lib/testcentricity_web/web_elements/ui_element.rb +1171 -0
  29. data/lib/testcentricity_web/web_elements/video.rb +39 -37
  30. data/lib/testcentricity_web/world_extensions.rb +37 -4
  31. data/lib/testcentricity_web.rb +4 -23
  32. metadata +27 -79
  33. data/lib/testcentricity_web/web_elements/ui_elements_helper.rb +0 -1148
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e1f34273e6126cc792065a37bdb761e8ca0f0c597e9030b3f9f58f2846a8d5c2
4
- data.tar.gz: 43a3dbfb5c94a0ff10b161e01d4087c3973ed11b61596363b455e1f82897c403
3
+ metadata.gz: 4c84c98708978a6cfd7cd54debf3360baba95c838b27f70131a2d4d6afa06049
4
+ data.tar.gz: 93ec0ef41eec3c51bffa1e7a9c89ae350966c40bba9cc00cfe2fab522ab904b0
5
5
  SHA512:
6
- metadata.gz: 12b80dbd95dc924ca9b51b0ac5d7876f55642e8824b5f38e0fd19f008487a23f3a4d24418712785d93e93d1f330fbeaa03e7754c2fc8a3a9967d931cf47aab0b
7
- data.tar.gz: a1bdb14f26c27829e71f0fb96c2ccb7183e5058dca09e46b0a515595611680ca6692f6c1a52f3c38cf60ba59c04f3ce720b29f8cd50be507a40119a13298d308
6
+ metadata.gz: 1073943f3495ee62aedd211ac5876ee9fe9ceeb0b81f2d5b943de7640b0178ddf75f69e959328841fa45c590e9942635ab68a6d18b8ac763cdbe5c1a449e4e12
7
+ data.tar.gz: de323a0357e5f9a043d5d0666e1811b716a81e29488ad927796c7570b33866069dc21139946d387ad7b5c27291ed5f9ded6e7513dfb4cd7bdd83a0b311d44f65
data/CHANGELOG.md CHANGED
@@ -2,7 +2,39 @@
2
2
  All notable changes to this project will be documented in this file.
3
3
 
4
4
 
5
- ## [4.3.0] - 01-AUGUST-2022
5
+ ## [4.4.0] - 22-DEC-2023
6
+
7
+ ### Added
8
+ * Added support for connecting to, and switching between multiple WebDriver or Appium connected desktop and/or mobile web
9
+ browsers by utilizing the following new methods:
10
+ * `WebDriverConnect.activate_driver`
11
+ * `WebDriverConnect.num_drivers`
12
+ * `WebDriverConnect.close_all_drivers`
13
+ * Added support for web page scrolling by utilizing the following methods:
14
+ * `Browsers.scroll_to_bottom`
15
+ * `Browsers.scroll_to_top`
16
+ * `Browsers.scroll_to`
17
+
18
+ ### Changed
19
+ * `WebDriverConnect.initialize_web_driver` method now accepts an optional `options` hash for specifying desired capabilities
20
+ (using W3C protocol), driver, driver name, endpoint URL, device type, and desktop browser window size information.
21
+ * The `HOST_BROWSER` Environment Variable is no longer required to support emulated mobile web browsers.
22
+ * The `SELENIUM` Environment Variable is no longer used to instantiate a WebDriver connection to a Selenium 4 Grid instance.
23
+ To establish a connection to browser instances on a Selenium 4 Grid, set the `DRIVER` Environment Variable to `grid`.
24
+ * TestCentricity now supports and integrates with Selenium-Webdriver version 4.14 and Capybara version 3.39.
25
+ * Updated profiles for emulated mobile device browsers.
26
+ * Removed dependency on `appium_capybara` and `webdrivers` gems.
27
+ * Ruby version 3.0.0 or greater is now required.
28
+ * Locally hosted Internet Explorer web browsers are no longer supported.
29
+
30
+
31
+ ## [4.3.1] - 19-AUG-2022
32
+
33
+ ### Added
34
+ * Added support for connecting to remote mobile browsers on iOS simulators and Android emulators on the TestingBot service.
35
+
36
+
37
+ ## [4.3.0] - 01-AUG-2022
6
38
 
7
39
  ### Added
8
40
  * The `DRIVER` Environment Variable is now used to specify the `appium`, `browserstack`, `saucelabs`, `testingbot`,
@@ -17,7 +49,7 @@ or `lambdatest` driver.
17
49
  ## [4.2.6] - 12-JUNE-2022
18
50
 
19
51
  ### Fixed
20
- * Fix `gemspec` to no longer include specs and cuke tests as part of deployment package for gem.
52
+ * Fix `gemspec` to no longer include specs and Cucumber tests as part of deployment package for gem.
21
53
 
22
54
 
23
55
  ## [4.2.5] - 10-JUNE-2022
@@ -37,7 +69,8 @@ missing `Downloads` folder when running tests in parallel.
37
69
 
38
70
  ### Added
39
71
  * Added `UIElement.wait_while_busy` method
40
- * Updated `PageObject.verify_ui_states` and `PageSection.verify_ui_states` methods to support verification of `aria_busy` attribute.
72
+ * Updated `PageObject.verify_ui_states` and `PageSection.verify_ui_states` methods to support verification of `aria_busy`
73
+ attribute.
41
74
 
42
75
 
43
76
  ## [4.2.2] - 21-MAY-2022
@@ -106,8 +139,8 @@ running gem test specs and features.
106
139
  radio buttons to the unchecked state.
107
140
 
108
141
  ### Added
109
- * `CheckBox.define_custom_elements` and `Radio.define_custom_elements` methods now support specifying a child `input` component
110
- contained by a top level `label` element.
142
+ * `CheckBox.define_custom_elements` and `Radio.define_custom_elements` methods now support specifying a child `input`
143
+ component contained by a top level `label` element.
111
144
 
112
145
 
113
146
  ## [4.1.8] - 31-MAR-2022
@@ -166,7 +199,8 @@ contained by a top level `label` element.
166
199
  ## [4.1.4] - 09-MAR-2022
167
200
 
168
201
  ### Fixed
169
- * `Environ.driver` is now correctly set to `:appium` when target test browser is running on iOS or Android simulators or physical devices.
202
+ * `Environ.driver` is now correctly set to `:appium` when target test browser is running on iOS or Android simulators or
203
+ physical devices.
170
204
 
171
205
 
172
206
  ## [4.1.3] - 08-MAR-2022
@@ -187,16 +221,17 @@ contained by a top level `label` element.
187
221
  ## [4.1.1] - 03-MAR-2022
188
222
 
189
223
  ### Changed
190
- * W3C WebDriver-compliant sessions using Selenium version 4.x are now supported when using the BrowserStack, LambdaTest, TestingBot,
191
- and SauceLabs services.
192
- * W3C WebDriver-compliant sessions are now supported when running against remote browsers hosted on Selenium Grid 4 and Dockerized Selenium
193
- Grid 4 environments.
224
+ * W3C WebDriver-compliant sessions using Selenium version 4.x are now supported when using the BrowserStack, LambdaTest,
225
+ TestingBot, and SauceLabs services.
226
+ * W3C WebDriver-compliant sessions are now supported when running against remote browsers hosted on Selenium Grid 4 and
227
+ Dockerized Selenium Grid 4 environments.
194
228
 
195
229
 
196
230
  ## [4.1.0] - 28-FEB-2022
197
231
 
198
232
  ### Removed
199
- * Support for CrossBrowserTesting and Gridlastic cloud hosted Selenium grids have been removed.
233
+ * Support for CrossBrowserTesting and Gridlastic cloud hosted Selenium grids have been removed due to their lack of support
234
+ for Selenium 4.x and the W3C browser capabilities protocol.
200
235
 
201
236
  ### Added
202
237
  * TestCentricity now supports and integrates with Selenium-Webdriver version 4.1.
data/LICENSE.md CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2014-2022, Tony Mrozinski
1
+ Copyright (c) 2014-2023, Tony Mrozinski
2
2
  All rights reserved.
3
3
 
4
4
  Redistribution and use in source and binary forms, with or without