testcentricity_web 4.3.1 → 4.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +42 -12
- data/LICENSE.md +1 -1
- data/README.md +1794 -697
- data/lib/devices/devices.yml +144 -216
- data/lib/testcentricity_web/browser_helper.rb +33 -4
- data/lib/testcentricity_web/data_objects/environment.rb +96 -13
- data/lib/testcentricity_web/exception_queue_helper.rb +5 -6
- data/lib/testcentricity_web/version.rb +1 -1
- data/lib/testcentricity_web/web_core/page_object.rb +53 -49
- data/lib/testcentricity_web/web_core/page_objects_helper.rb +20 -11
- data/lib/testcentricity_web/web_core/page_section.rb +31 -34
- data/lib/testcentricity_web/web_core/webdriver_helper.rb +379 -252
- data/lib/testcentricity_web/web_elements/audio.rb +6 -4
- data/lib/testcentricity_web/web_elements/button.rb +7 -4
- data/lib/testcentricity_web/web_elements/checkbox.rb +149 -147
- data/lib/testcentricity_web/web_elements/file_field.rb +38 -36
- data/lib/testcentricity_web/web_elements/image.rb +75 -70
- data/lib/testcentricity_web/web_elements/label.rb +6 -4
- data/lib/testcentricity_web/web_elements/link.rb +15 -13
- data/lib/testcentricity_web/web_elements/list.rb +171 -169
- data/lib/testcentricity_web/web_elements/media.rb +384 -379
- data/lib/testcentricity_web/web_elements/radio.rb +135 -133
- data/lib/testcentricity_web/web_elements/range.rb +16 -29
- data/lib/testcentricity_web/web_elements/select_list.rb +247 -245
- data/lib/testcentricity_web/web_elements/table.rb +575 -573
- data/lib/testcentricity_web/web_elements/textfield.rb +143 -139
- data/lib/testcentricity_web/web_elements/ui_element.rb +1171 -0
- data/lib/testcentricity_web/web_elements/video.rb +39 -37
- data/lib/testcentricity_web/world_extensions.rb +37 -4
- data/lib/testcentricity_web.rb +4 -23
- metadata +27 -79
- 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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4c84c98708978a6cfd7cd54debf3360baba95c838b27f70131a2d4d6afa06049
|
4
|
+
data.tar.gz: 93ec0ef41eec3c51bffa1e7a9c89ae350966c40bba9cc00cfe2fab522ab904b0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1073943f3495ee62aedd211ac5876ee9fe9ceeb0b81f2d5b943de7640b0178ddf75f69e959328841fa45c590e9942635ab68a6d18b8ac763cdbe5c1a449e4e12
|
7
|
+
data.tar.gz: de323a0357e5f9a043d5d0666e1811b716a81e29488ad927796c7570b33866069dc21139946d387ad7b5c27291ed5f9ded6e7513dfb4cd7bdd83a0b311d44f65
|
data/CHANGELOG.md
CHANGED
@@ -1,13 +1,40 @@
|
|
1
1
|
# CHANGELOG
|
2
2
|
All notable changes to this project will be documented in this file.
|
3
3
|
|
4
|
-
|
4
|
+
|
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
|
5
32
|
|
6
33
|
### Added
|
7
34
|
* Added support for connecting to remote mobile browsers on iOS simulators and Android emulators on the TestingBot service.
|
8
35
|
|
9
36
|
|
10
|
-
## [4.3.0] - 01-
|
37
|
+
## [4.3.0] - 01-AUG-2022
|
11
38
|
|
12
39
|
### Added
|
13
40
|
* The `DRIVER` Environment Variable is now used to specify the `appium`, `browserstack`, `saucelabs`, `testingbot`,
|
@@ -22,7 +49,7 @@ or `lambdatest` driver.
|
|
22
49
|
## [4.2.6] - 12-JUNE-2022
|
23
50
|
|
24
51
|
### Fixed
|
25
|
-
* Fix `gemspec` to no longer include specs and
|
52
|
+
* Fix `gemspec` to no longer include specs and Cucumber tests as part of deployment package for gem.
|
26
53
|
|
27
54
|
|
28
55
|
## [4.2.5] - 10-JUNE-2022
|
@@ -42,7 +69,8 @@ missing `Downloads` folder when running tests in parallel.
|
|
42
69
|
|
43
70
|
### Added
|
44
71
|
* Added `UIElement.wait_while_busy` method
|
45
|
-
* Updated `PageObject.verify_ui_states` and `PageSection.verify_ui_states` methods to support verification of `aria_busy`
|
72
|
+
* Updated `PageObject.verify_ui_states` and `PageSection.verify_ui_states` methods to support verification of `aria_busy`
|
73
|
+
attribute.
|
46
74
|
|
47
75
|
|
48
76
|
## [4.2.2] - 21-MAY-2022
|
@@ -111,8 +139,8 @@ running gem test specs and features.
|
|
111
139
|
radio buttons to the unchecked state.
|
112
140
|
|
113
141
|
### Added
|
114
|
-
* `CheckBox.define_custom_elements` and `Radio.define_custom_elements` methods now support specifying a child `input`
|
115
|
-
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.
|
116
144
|
|
117
145
|
|
118
146
|
## [4.1.8] - 31-MAR-2022
|
@@ -171,7 +199,8 @@ contained by a top level `label` element.
|
|
171
199
|
## [4.1.4] - 09-MAR-2022
|
172
200
|
|
173
201
|
### Fixed
|
174
|
-
* `Environ.driver` is now correctly set to `:appium` when target test browser is running on iOS or Android simulators or
|
202
|
+
* `Environ.driver` is now correctly set to `:appium` when target test browser is running on iOS or Android simulators or
|
203
|
+
physical devices.
|
175
204
|
|
176
205
|
|
177
206
|
## [4.1.3] - 08-MAR-2022
|
@@ -192,16 +221,17 @@ contained by a top level `label` element.
|
|
192
221
|
## [4.1.1] - 03-MAR-2022
|
193
222
|
|
194
223
|
### Changed
|
195
|
-
* W3C WebDriver-compliant sessions using Selenium version 4.x are now supported when using the BrowserStack, LambdaTest,
|
196
|
-
and SauceLabs services.
|
197
|
-
* W3C WebDriver-compliant sessions are now supported when running against remote browsers hosted on Selenium Grid 4 and
|
198
|
-
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.
|
199
228
|
|
200
229
|
|
201
230
|
## [4.1.0] - 28-FEB-2022
|
202
231
|
|
203
232
|
### Removed
|
204
|
-
* 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.
|
205
235
|
|
206
236
|
### Added
|
207
237
|
* TestCentricity now supports and integrates with Selenium-Webdriver version 4.1.
|
data/LICENSE.md
CHANGED