testcentricity_web 4.0.3 → 4.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +64 -0
- data/Gemfile.lock +23 -21
- data/LICENSE.md +1 -1
- data/README.md +557 -611
- data/lib/devices/devices.yml +0 -16
- data/lib/testcentricity_web/appium_server.rb +1 -1
- data/lib/testcentricity_web/data_objects/environment.rb +27 -9
- data/lib/testcentricity_web/exception_queue_helper.rb +5 -5
- data/lib/testcentricity_web/version.rb +1 -1
- data/lib/testcentricity_web/web_core/page_object.rb +18 -20
- data/lib/testcentricity_web/web_core/page_section.rb +19 -21
- data/lib/testcentricity_web/web_core/webdriver_helper.rb +348 -372
- data/lib/testcentricity_web/web_elements/checkbox.rb +33 -32
- data/lib/testcentricity_web/web_elements/radio.rb +33 -32
- data/lib/testcentricity_web/web_elements/select_list.rb +0 -14
- data/lib/testcentricity_web/web_elements/ui_elements_helper.rb +17 -1
- data/test_site/test_page.html +11 -0
- data/testcentricity_web.gemspec +7 -8
- metadata +22 -17
- data/my_templates/default/method_details/setup.rb +0 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 022d693b793b248b2aac148c4a0865b39dbaf2f05c58a45f00cbd10339335e82
|
4
|
+
data.tar.gz: 4c319c310595c0c5069fc81a635ad906087376fd08a40877c81dcea205fd4a09
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 05ba745d0ab5f5abdf107a401c901a01536605ef6e39c4d81e17f0b1a6795466b16fef76d0a06011659e66aba6faae2491c9cf6a96f201801d6cbbfc91c51f09
|
7
|
+
data.tar.gz: ccae42725bdbad5680aa898d9f5f7e77c52cb2783922bbef88ba28f96907499fa9dec0d1d097e5a9d7fbe6b6394602cdd6d29903c54b135a60af5f2486b0ef8a
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,44 @@
|
|
1
1
|
# CHANGELOG
|
2
2
|
All notable changes to this project will be documented in this file.
|
3
3
|
|
4
|
+
|
5
|
+
## [4.1.2] - 07-MAR-2022
|
6
|
+
|
7
|
+
### Changed
|
8
|
+
* Updated HTML documentation
|
9
|
+
|
10
|
+
|
11
|
+
## [4.1.1] - 03-MAR-2022
|
12
|
+
|
13
|
+
### Changed
|
14
|
+
* W3C WebDriver-compliant sessions using Selenium version 4.x are now supported when using the BrowserStack, LambdaTest, TestingBot,
|
15
|
+
and SauceLabs services.
|
16
|
+
* W3C WebDriver-compliant sessions are now supported when running against remote browsers hosted on Selenium Grid 4 and Dockerized Selenium
|
17
|
+
Grid 4 environments.
|
18
|
+
|
19
|
+
|
20
|
+
## [4.1.0] - 28-FEB-2022
|
21
|
+
|
22
|
+
### Removed
|
23
|
+
* Support for CrossBrowserTesting and Gridlastic cloud hosted Selenium grids have been removed.
|
24
|
+
|
25
|
+
### Added
|
26
|
+
* TestCentricity now supports and integrates with Selenium-Webdriver version 4.1.
|
27
|
+
* Added support for locally hosted Microsoft Edge desktop web browsers, including in `headless` mode.
|
28
|
+
* Added `CheckBox.define_custom_elements` and `Radio.define_custom_elements` methods to support abstracted UI implementations
|
29
|
+
where the `input type="checkbox"` or `input type="radio"` object is hidden or obscured by a proxy object, typically a `label`.
|
30
|
+
* Added support for `shutdownOtherSimulators` and `forceSimulatorSoftwareKeyboardPresence` capabilities for iOS simulators
|
31
|
+
when testing with Mobile Safari browser on iOS Simulators.
|
32
|
+
|
33
|
+
### Changed
|
34
|
+
* `checkbox` and `radio` methods no longer accept an optional `proxy`. Calling the `checkbox` or `radio` methods with a `proxy`
|
35
|
+
parameter will result in a `wrong number of arguments (given 3, expected 2) (ArgumentError)` exception. Use the `define_custom_elements`
|
36
|
+
method to specify the locator for an associated `proxy` and/or `label` element. The `define_custom_elements` method can be
|
37
|
+
called from an `initialize` method for the `PageObject` or `PageSection` where the `checkbox` or `radio` is instantiated.
|
38
|
+
* Ruby version 2.7 or greater required.
|
39
|
+
* Selenium-Webdriver version 4 or greater required.
|
40
|
+
|
41
|
+
|
4
42
|
## [4.0.3] - 30-DEC-2021
|
5
43
|
|
6
44
|
### Changed
|
@@ -9,6 +47,7 @@ All notable changes to this project will be documented in this file.
|
|
9
47
|
### Fixed
|
10
48
|
* No longer throws a `NoMethodError: undefined method 'World' for main:Object` error when using RSpec.
|
11
49
|
|
50
|
+
|
12
51
|
## [4.0.0] - 18-APR-2021
|
13
52
|
|
14
53
|
### Changed
|
@@ -39,17 +78,20 @@ All notable changes to this project will be documented in this file.
|
|
39
78
|
* `UIElement.invoke_siebel_popup`
|
40
79
|
* `UIElement.get_siebel_object_type`
|
41
80
|
|
81
|
+
|
42
82
|
## [3.3.0] - 14-MAR-2021
|
43
83
|
|
44
84
|
### Fixed
|
45
85
|
* `WebDriverConnect.initialize_web_driver` method now correctly sets local Chrome browser Download directory when running
|
46
86
|
with headless Chrome.
|
47
87
|
|
88
|
+
|
48
89
|
## [3.2.25] - 11-MAR-2021
|
49
90
|
|
50
91
|
### Added
|
51
92
|
* Added `String.titlecase` method.
|
52
93
|
|
94
|
+
|
53
95
|
## [3.2.23] - 11-FEB-2021
|
54
96
|
|
55
97
|
### Changed
|
@@ -57,35 +99,41 @@ with headless Chrome.
|
|
57
99
|
`:translate_downcase`, `:translate_capitalize`, and `:translate_titlecase` conversions to fall back to `:en` default
|
58
100
|
locale if translated strings are missing from the current locale specified in `I18n.locale`.
|
59
101
|
|
102
|
+
|
60
103
|
## [3.2.22] - 09-FEB-2021
|
61
104
|
|
62
105
|
### Fixed
|
63
106
|
* Updated `PageObject.verify_ui_states` and `PageSection.verify_ui_states` methods to correctly handle `:translate_upcase`,
|
64
107
|
`:translate_downcase`, `:translate_capitalize`, and `:translate_titlecase` conversions for Arrays of `String`.
|
65
108
|
|
109
|
+
|
66
110
|
## [3.2.21] - 04-FEB-2021
|
67
111
|
|
68
112
|
### Changed
|
69
113
|
* `UIElement.hover_at` method now accepts an optional `visible` parameter to allow hovering over UI elements that are not
|
70
114
|
visible.
|
71
115
|
|
116
|
+
|
72
117
|
## [3.2.20] - 21-JAN-2021
|
73
118
|
|
74
119
|
### Changed
|
75
120
|
* `UIElement.hover` method now accepts an optional `visible` parameter to allow hovering over UI elements that are not
|
76
121
|
visible.
|
77
122
|
|
123
|
+
|
78
124
|
## [3.2.19] - 05-JAN-2021
|
79
125
|
|
80
126
|
### Fixed
|
81
127
|
* `SelectList.choose_option` and `SelectList.get_options` methods now wait up to 5 seconds for list drop menu to appear.
|
82
128
|
|
129
|
+
|
83
130
|
## [3.2.18] - 12-AUG-2020
|
84
131
|
|
85
132
|
### Fixed
|
86
133
|
* Updated `PageObject.verify_ui_states` and `PageSection.verify_ui_states` methods to correctly handle `:row`, `:column`,
|
87
134
|
`:cell`, `:item`, and `:attribute` properties.
|
88
135
|
|
136
|
+
|
89
137
|
## [3.2.17] - 19-JUNE-2020
|
90
138
|
|
91
139
|
### Changed
|
@@ -93,28 +141,33 @@ visible.
|
|
93
141
|
* Updated `Table.get_row_count`, `Table.get_column_count`, and `Table.get_table_cell_locator` methods to support tables
|
94
142
|
with row headers in row #1.
|
95
143
|
|
144
|
+
|
96
145
|
## [3.2.16] - 13-MAY-2020
|
97
146
|
|
98
147
|
### Changed
|
99
148
|
* `WebDriverConnect.initialize_web_driver` method now sets local Chrome and Firefox browser Download directory to separate
|
100
149
|
folders for each parallel test thread when using `parallel_tests` gem to run tests in concurrent threads.
|
101
150
|
|
151
|
+
|
102
152
|
## [3.2.15] - 06-APR-2020
|
103
153
|
|
104
154
|
### Fixed
|
105
155
|
* `PageObject.populate_data_fields` and `PageSection.populate_data_fields` methods accept `String` or `Boolean` values
|
106
156
|
for checkboxes and radio buttons.
|
107
157
|
|
158
|
+
|
108
159
|
## [3.2.14] - 06-APR-2020
|
109
160
|
|
110
161
|
### Added
|
111
162
|
* Added `UIElement.scroll_to` method.
|
112
163
|
|
164
|
+
|
113
165
|
## [3.2.13] - 24-MAR-2020
|
114
166
|
|
115
167
|
### Added
|
116
168
|
* Added `PageObject.send_keys` method.
|
117
169
|
|
170
|
+
|
118
171
|
## [3.2.12] - 11-MAR-2020
|
119
172
|
|
120
173
|
### Added
|
@@ -122,26 +175,31 @@ for checkboxes and radio buttons.
|
|
122
175
|
* Updated `PageObject.verify_ui_states` and `PageSection.verify_ui_states` methods to support verification of the
|
123
176
|
`focused` property.
|
124
177
|
|
178
|
+
|
125
179
|
## [3.2.11] - 10-MAR-2020
|
126
180
|
|
127
181
|
### Added
|
128
182
|
* Added `PageSection.verify_focus_order` method.
|
129
183
|
|
184
|
+
|
130
185
|
## [3.2.10] - 09-MAR-2020
|
131
186
|
|
132
187
|
### Added
|
133
188
|
* Added `PageObject.verify_focus_order` method.
|
134
189
|
|
190
|
+
|
135
191
|
## [3.2.9] - 12-FEB-2020
|
136
192
|
|
137
193
|
### Fixed
|
138
194
|
* Fixed `UIElement.wait_until_value_is`, `List.wait_until_item_count_is`, and `Table.wait_until_row_count_is`' methods.
|
139
195
|
|
196
|
+
|
140
197
|
## [3.2.8] - 08-FEB-2020
|
141
198
|
|
142
199
|
### Fixed
|
143
200
|
* Fixed `UIElement.visible?` method that was broken in release 3.2.7.
|
144
201
|
|
202
|
+
|
145
203
|
## [3.2.7] - 05-FEB-2020
|
146
204
|
|
147
205
|
### Added
|
@@ -151,11 +209,13 @@ for checkboxes and radio buttons.
|
|
151
209
|
* Updated `PageObject.verify_ui_states` and `PageSection.verify_ui_states` methods to support verification of the
|
152
210
|
`crossorigin`, `preload`, and `poster` properties.
|
153
211
|
|
212
|
+
|
154
213
|
## [3.2.6] - 31-JAN-2020
|
155
214
|
|
156
215
|
### Changed
|
157
216
|
* `Audio.volume` and `Video.volume` methods now return a `Float`.
|
158
217
|
|
218
|
+
|
159
219
|
## [3.2.5] - 25-JAN-2020
|
160
220
|
|
161
221
|
### Added
|
@@ -166,11 +226,13 @@ for checkboxes and radio buttons.
|
|
166
226
|
### Fixed
|
167
227
|
* Fixed `UIElement.aria_multiselectable?` method.
|
168
228
|
|
229
|
+
|
169
230
|
## [3.2.4] - 16-JAN-2020
|
170
231
|
|
171
232
|
### Added
|
172
233
|
* Added `Range` type `UIElement` to support interaction with and verification of HTML5 Input Range Slider Objects.
|
173
234
|
|
235
|
+
|
174
236
|
## [3.2.3] - 29-DEC-2019
|
175
237
|
|
176
238
|
### Added
|
@@ -203,6 +265,7 @@ properties:
|
|
203
265
|
* `aria_multiselectable`
|
204
266
|
* `aria_controls`
|
205
267
|
|
268
|
+
|
206
269
|
## [3.2.2] - 16-OCT-2019
|
207
270
|
|
208
271
|
### Added
|
@@ -212,6 +275,7 @@ properties:
|
|
212
275
|
* Updated `PageObject.verify_ui_states` and `PageSection.verify_ui_states` methods to support verification of `indeterminate` property.
|
213
276
|
* Updated device profiles for iPad Pro 12.9" 3rd Generation (iOS 13.1) with Mobile Safari browser.
|
214
277
|
|
278
|
+
|
215
279
|
## [3.2.1] - 03-OCT-2019
|
216
280
|
|
217
281
|
### Changed
|
data/Gemfile.lock
CHANGED
@@ -1,48 +1,48 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
testcentricity_web (4.
|
4
|
+
testcentricity_web (4.1.1)
|
5
5
|
appium_lib
|
6
6
|
browserstack-local
|
7
7
|
capybara (>= 3.1, < 4)
|
8
|
-
childprocess
|
8
|
+
childprocess
|
9
9
|
chronic (= 0.10.2)
|
10
10
|
faker
|
11
11
|
i18n
|
12
12
|
os (~> 1.0)
|
13
|
-
selenium-webdriver
|
13
|
+
selenium-webdriver (>= 4.0, < 5)
|
14
14
|
spreadsheet (= 1.1.7)
|
15
15
|
test-unit
|
16
16
|
virtus
|
17
|
-
webdrivers (~>
|
17
|
+
webdrivers (~> 5.0)
|
18
18
|
|
19
19
|
GEM
|
20
20
|
remote: https://rubygems.org/
|
21
21
|
specs:
|
22
22
|
addressable (2.8.0)
|
23
23
|
public_suffix (>= 2.0.2, < 5.0)
|
24
|
-
appium_lib (
|
25
|
-
appium_lib_core (~>
|
24
|
+
appium_lib (12.0.0)
|
25
|
+
appium_lib_core (~> 5.0.0)
|
26
26
|
nokogiri (~> 1.8, >= 1.8.1)
|
27
|
-
tomlrb (
|
28
|
-
appium_lib_core (
|
27
|
+
tomlrb (>= 1.1, < 3.0)
|
28
|
+
appium_lib_core (5.0.3)
|
29
29
|
faye-websocket (~> 0.11.0)
|
30
|
-
selenium-webdriver (~>
|
30
|
+
selenium-webdriver (~> 4.0)
|
31
31
|
axiom-types (0.1.1)
|
32
32
|
descendants_tracker (~> 0.0.4)
|
33
33
|
ice_nine (~> 0.11.0)
|
34
34
|
thread_safe (~> 0.3, >= 0.3.1)
|
35
35
|
browserstack-local (1.3.0)
|
36
|
-
capybara (3.
|
36
|
+
capybara (3.36.0)
|
37
37
|
addressable
|
38
|
+
matrix
|
38
39
|
mini_mime (>= 0.1.3)
|
39
40
|
nokogiri (~> 1.8)
|
40
41
|
rack (>= 1.6.0)
|
41
42
|
rack-test (>= 0.6.3)
|
42
43
|
regexp_parser (>= 1.5, < 3.0)
|
43
44
|
xpath (~> 3.2)
|
44
|
-
childprocess (
|
45
|
-
ffi (~> 1.0, >= 1.0.11)
|
45
|
+
childprocess (4.1.0)
|
46
46
|
chronic (0.10.2)
|
47
47
|
coercible (1.0.0)
|
48
48
|
descendants_tracker (~> 0.0.1)
|
@@ -55,12 +55,12 @@ GEM
|
|
55
55
|
faye-websocket (0.11.1)
|
56
56
|
eventmachine (>= 0.12.0)
|
57
57
|
websocket-driver (>= 0.5.1)
|
58
|
-
|
59
|
-
i18n (1.8.11)
|
58
|
+
i18n (1.10.0)
|
60
59
|
concurrent-ruby (~> 1.0)
|
61
60
|
ice_nine (0.11.2)
|
61
|
+
matrix (0.4.2)
|
62
62
|
mini_mime (1.1.2)
|
63
|
-
nokogiri (1.
|
63
|
+
nokogiri (1.13.3-x86_64-darwin)
|
64
64
|
racc (~> 1.4)
|
65
65
|
os (1.1.4)
|
66
66
|
power_assert (2.0.1)
|
@@ -71,26 +71,28 @@ GEM
|
|
71
71
|
rack (>= 1.0, < 3)
|
72
72
|
rake (13.0.6)
|
73
73
|
redcarpet (3.5.1)
|
74
|
-
regexp_parser (2.2.
|
74
|
+
regexp_parser (2.2.1)
|
75
|
+
rexml (3.2.5)
|
75
76
|
ruby-ole (1.2.12.2)
|
76
77
|
rubyzip (2.3.2)
|
77
|
-
selenium-webdriver (
|
78
|
-
childprocess (>= 0.5, <
|
78
|
+
selenium-webdriver (4.1.0)
|
79
|
+
childprocess (>= 0.5, < 5.0)
|
80
|
+
rexml (~> 3.2, >= 3.2.5)
|
79
81
|
rubyzip (>= 1.2.2)
|
80
82
|
spreadsheet (1.1.7)
|
81
83
|
ruby-ole (>= 1.0)
|
82
84
|
test-unit (3.5.3)
|
83
85
|
power_assert
|
84
86
|
thread_safe (0.3.6)
|
85
|
-
tomlrb (
|
87
|
+
tomlrb (2.0.1)
|
86
88
|
virtus (2.0.0)
|
87
89
|
axiom-types (~> 0.1)
|
88
90
|
coercible (~> 1.0)
|
89
91
|
descendants_tracker (~> 0.0, >= 0.0.3)
|
90
|
-
webdrivers (
|
92
|
+
webdrivers (5.0.0)
|
91
93
|
nokogiri (~> 1.6)
|
92
94
|
rubyzip (>= 1.3.0)
|
93
|
-
selenium-webdriver (
|
95
|
+
selenium-webdriver (~> 4.0)
|
94
96
|
websocket-driver (0.7.5)
|
95
97
|
websocket-extensions (>= 0.1.0)
|
96
98
|
websocket-extensions (0.1.5)
|
data/LICENSE.md
CHANGED