testcentricity_web 4.0.2 → 4.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +59 -2
- data/LICENSE.md +1 -1
- data/README.md +211 -391
- 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/lib/testcentricity_web.rb +0 -1
- data/testcentricity_web.gemspec +7 -8
- metadata +21 -16
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b12fc25c9cf0781a7c8d1e3da7db99f2887eb9648f5de7957e1cd10698f6fed9
|
4
|
+
data.tar.gz: c9fd999bbb151a5626f3f934bdd27b2c522e9b53729d3d221d596d5d4855ab37
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bcfe319938cbc21134b18259af144e73bf25ba8a14b1f35a718efe34c029dc46216e06d8f70a8786a7cd1cbd97f4cc9201e7884051ea66baed703eec1df89383
|
7
|
+
data.tar.gz: 37118e8d45ea994e7ebfba7a348319cba6c2c4dc4b6ccffcd0e8f61480730e0d2903302496a7cfc177989be49f3ea55a098ac295bb38c0d42d52b8e051686e5a
|
data/CHANGELOG.md
CHANGED
@@ -1,13 +1,45 @@
|
|
1
1
|
# CHANGELOG
|
2
2
|
All notable changes to this project will be documented in this file.
|
3
3
|
|
4
|
-
## [4.
|
4
|
+
## [4.1.1] - 03-MAR-2022
|
5
|
+
|
6
|
+
### Changed
|
7
|
+
* W3C WebDriver-compliant sessions using Selenium version 4.x are now supported when using the BrowserStack, LambdaTest, TestingBot,
|
8
|
+
and SauceLabs services.
|
9
|
+
* W3C WebDriver-compliant sessions are now supported when running against remote browsers hosted on Selenium Grid 4 and Dockerized Selenium
|
10
|
+
Grid 4 environments.
|
11
|
+
|
12
|
+
|
13
|
+
## [4.1.0] - 28-FEB-2022
|
14
|
+
|
15
|
+
### Added
|
16
|
+
* TestCentricity now supports and integrates with Selenium-Webdriver version 4.1.
|
17
|
+
* Added support for locally hosted Microsoft Edge desktop web browsers, including in `headless` mode.
|
18
|
+
* Added `CheckBox.define_custom_elements` and `Radio.define_custom_elements` methods to support abstracted UI implementations
|
19
|
+
where the `input type="checkbox"` or `input type="radio"` object is hidden or obscured by a proxy object, typically a `label`.
|
20
|
+
* Added support for `shutdownOtherSimulators` and `forceSimulatorSoftwareKeyboardPresence` capabilities for iOS simulators
|
21
|
+
when testing with Mobile Safari browser on iOS Simulators.
|
22
|
+
|
23
|
+
### Changed
|
24
|
+
* `checkbox` and `radio` methods no longer accept an optional `proxy`. Calling the `checkbox` or `radio` methods with a `proxy`
|
25
|
+
parameter will result in a `wrong number of arguments (given 3, expected 2) (ArgumentError)` exception. Use the `define_custom_elements`
|
26
|
+
method to specify the locator for an associated `proxy` and/or `label` element. The `define_custom_elements` method can be
|
27
|
+
called from an `initialize` method for the `PageObject` or `PageSection` where the `checkbox` or `radio` is instantiated.
|
28
|
+
* Ruby version 2.7 or greater required.
|
29
|
+
* Selenium-Webdriver version 4 or greater required.
|
30
|
+
|
31
|
+
### Removed
|
32
|
+
* Support for CrossBrowserTesting and Gridlastic cloud hosted Selenium grids have been removed.
|
33
|
+
|
34
|
+
|
35
|
+
## [4.0.3] - 30-DEC-2021
|
5
36
|
|
6
37
|
### Changed
|
7
38
|
* Primary test data path has been changed from `features/test_data/` to `config/test_data/`.
|
8
39
|
|
9
40
|
### Fixed
|
10
|
-
* No longer throws a `NoMethodError: undefined method 'World' for main:Object` error when RSpec.
|
41
|
+
* No longer throws a `NoMethodError: undefined method 'World' for main:Object` error when using RSpec.
|
42
|
+
|
11
43
|
|
12
44
|
## [4.0.0] - 18-APR-2021
|
13
45
|
|
@@ -39,17 +71,20 @@ All notable changes to this project will be documented in this file.
|
|
39
71
|
* `UIElement.invoke_siebel_popup`
|
40
72
|
* `UIElement.get_siebel_object_type`
|
41
73
|
|
74
|
+
|
42
75
|
## [3.3.0] - 14-MAR-2021
|
43
76
|
|
44
77
|
### Fixed
|
45
78
|
* `WebDriverConnect.initialize_web_driver` method now correctly sets local Chrome browser Download directory when running
|
46
79
|
with headless Chrome.
|
47
80
|
|
81
|
+
|
48
82
|
## [3.2.25] - 11-MAR-2021
|
49
83
|
|
50
84
|
### Added
|
51
85
|
* Added `String.titlecase` method.
|
52
86
|
|
87
|
+
|
53
88
|
## [3.2.23] - 11-FEB-2021
|
54
89
|
|
55
90
|
### Changed
|
@@ -57,35 +92,41 @@ with headless Chrome.
|
|
57
92
|
`:translate_downcase`, `:translate_capitalize`, and `:translate_titlecase` conversions to fall back to `:en` default
|
58
93
|
locale if translated strings are missing from the current locale specified in `I18n.locale`.
|
59
94
|
|
95
|
+
|
60
96
|
## [3.2.22] - 09-FEB-2021
|
61
97
|
|
62
98
|
### Fixed
|
63
99
|
* Updated `PageObject.verify_ui_states` and `PageSection.verify_ui_states` methods to correctly handle `:translate_upcase`,
|
64
100
|
`:translate_downcase`, `:translate_capitalize`, and `:translate_titlecase` conversions for Arrays of `String`.
|
65
101
|
|
102
|
+
|
66
103
|
## [3.2.21] - 04-FEB-2021
|
67
104
|
|
68
105
|
### Changed
|
69
106
|
* `UIElement.hover_at` method now accepts an optional `visible` parameter to allow hovering over UI elements that are not
|
70
107
|
visible.
|
71
108
|
|
109
|
+
|
72
110
|
## [3.2.20] - 21-JAN-2021
|
73
111
|
|
74
112
|
### Changed
|
75
113
|
* `UIElement.hover` method now accepts an optional `visible` parameter to allow hovering over UI elements that are not
|
76
114
|
visible.
|
77
115
|
|
116
|
+
|
78
117
|
## [3.2.19] - 05-JAN-2021
|
79
118
|
|
80
119
|
### Fixed
|
81
120
|
* `SelectList.choose_option` and `SelectList.get_options` methods now wait up to 5 seconds for list drop menu to appear.
|
82
121
|
|
122
|
+
|
83
123
|
## [3.2.18] - 12-AUG-2020
|
84
124
|
|
85
125
|
### Fixed
|
86
126
|
* Updated `PageObject.verify_ui_states` and `PageSection.verify_ui_states` methods to correctly handle `:row`, `:column`,
|
87
127
|
`:cell`, `:item`, and `:attribute` properties.
|
88
128
|
|
129
|
+
|
89
130
|
## [3.2.17] - 19-JUNE-2020
|
90
131
|
|
91
132
|
### Changed
|
@@ -93,28 +134,33 @@ visible.
|
|
93
134
|
* Updated `Table.get_row_count`, `Table.get_column_count`, and `Table.get_table_cell_locator` methods to support tables
|
94
135
|
with row headers in row #1.
|
95
136
|
|
137
|
+
|
96
138
|
## [3.2.16] - 13-MAY-2020
|
97
139
|
|
98
140
|
### Changed
|
99
141
|
* `WebDriverConnect.initialize_web_driver` method now sets local Chrome and Firefox browser Download directory to separate
|
100
142
|
folders for each parallel test thread when using `parallel_tests` gem to run tests in concurrent threads.
|
101
143
|
|
144
|
+
|
102
145
|
## [3.2.15] - 06-APR-2020
|
103
146
|
|
104
147
|
### Fixed
|
105
148
|
* `PageObject.populate_data_fields` and `PageSection.populate_data_fields` methods accept `String` or `Boolean` values
|
106
149
|
for checkboxes and radio buttons.
|
107
150
|
|
151
|
+
|
108
152
|
## [3.2.14] - 06-APR-2020
|
109
153
|
|
110
154
|
### Added
|
111
155
|
* Added `UIElement.scroll_to` method.
|
112
156
|
|
157
|
+
|
113
158
|
## [3.2.13] - 24-MAR-2020
|
114
159
|
|
115
160
|
### Added
|
116
161
|
* Added `PageObject.send_keys` method.
|
117
162
|
|
163
|
+
|
118
164
|
## [3.2.12] - 11-MAR-2020
|
119
165
|
|
120
166
|
### Added
|
@@ -122,26 +168,31 @@ for checkboxes and radio buttons.
|
|
122
168
|
* Updated `PageObject.verify_ui_states` and `PageSection.verify_ui_states` methods to support verification of the
|
123
169
|
`focused` property.
|
124
170
|
|
171
|
+
|
125
172
|
## [3.2.11] - 10-MAR-2020
|
126
173
|
|
127
174
|
### Added
|
128
175
|
* Added `PageSection.verify_focus_order` method.
|
129
176
|
|
177
|
+
|
130
178
|
## [3.2.10] - 09-MAR-2020
|
131
179
|
|
132
180
|
### Added
|
133
181
|
* Added `PageObject.verify_focus_order` method.
|
134
182
|
|
183
|
+
|
135
184
|
## [3.2.9] - 12-FEB-2020
|
136
185
|
|
137
186
|
### Fixed
|
138
187
|
* Fixed `UIElement.wait_until_value_is`, `List.wait_until_item_count_is`, and `Table.wait_until_row_count_is`' methods.
|
139
188
|
|
189
|
+
|
140
190
|
## [3.2.8] - 08-FEB-2020
|
141
191
|
|
142
192
|
### Fixed
|
143
193
|
* Fixed `UIElement.visible?` method that was broken in release 3.2.7.
|
144
194
|
|
195
|
+
|
145
196
|
## [3.2.7] - 05-FEB-2020
|
146
197
|
|
147
198
|
### Added
|
@@ -151,11 +202,13 @@ for checkboxes and radio buttons.
|
|
151
202
|
* Updated `PageObject.verify_ui_states` and `PageSection.verify_ui_states` methods to support verification of the
|
152
203
|
`crossorigin`, `preload`, and `poster` properties.
|
153
204
|
|
205
|
+
|
154
206
|
## [3.2.6] - 31-JAN-2020
|
155
207
|
|
156
208
|
### Changed
|
157
209
|
* `Audio.volume` and `Video.volume` methods now return a `Float`.
|
158
210
|
|
211
|
+
|
159
212
|
## [3.2.5] - 25-JAN-2020
|
160
213
|
|
161
214
|
### Added
|
@@ -166,11 +219,13 @@ for checkboxes and radio buttons.
|
|
166
219
|
### Fixed
|
167
220
|
* Fixed `UIElement.aria_multiselectable?` method.
|
168
221
|
|
222
|
+
|
169
223
|
## [3.2.4] - 16-JAN-2020
|
170
224
|
|
171
225
|
### Added
|
172
226
|
* Added `Range` type `UIElement` to support interaction with and verification of HTML5 Input Range Slider Objects.
|
173
227
|
|
228
|
+
|
174
229
|
## [3.2.3] - 29-DEC-2019
|
175
230
|
|
176
231
|
### Added
|
@@ -203,6 +258,7 @@ properties:
|
|
203
258
|
* `aria_multiselectable`
|
204
259
|
* `aria_controls`
|
205
260
|
|
261
|
+
|
206
262
|
## [3.2.2] - 16-OCT-2019
|
207
263
|
|
208
264
|
### Added
|
@@ -212,6 +268,7 @@ properties:
|
|
212
268
|
* Updated `PageObject.verify_ui_states` and `PageSection.verify_ui_states` methods to support verification of `indeterminate` property.
|
213
269
|
* Updated device profiles for iPad Pro 12.9" 3rd Generation (iOS 13.1) with Mobile Safari browser.
|
214
270
|
|
271
|
+
|
215
272
|
## [3.2.1] - 03-OCT-2019
|
216
273
|
|
217
274
|
### Changed
|
data/LICENSE.md
CHANGED