WebDriver: implement get element CSS value command
[WebKit-https.git] / WebDriverTests / ChangeLog
1 2018-01-22  Carlos Garcia Campos  <cgarcia@igalia.com>
2
3         WebDriver: implement get element CSS value command
4         https://bugs.webkit.org/show_bug.cgi?id=181736
5
6         Reviewed by Carlos Alberto Lopez Perez.
7
8         * TestExpectations.json: Unskip tests passing now.
9
10 2018-01-22  Carlos Garcia Campos  <cgarcia@igalia.com>
11
12         Unreviewed. Update W3C WebDriver imported tests.
13
14         * imported/w3c/importer.json:
15         * imported/w3c/tools/webdriver/webdriver/client.py:
16         * imported/w3c/tools/webdriver/webdriver/protocol.py:
17         * imported/w3c/tools/webdriver/webdriver/servo.py: Removed.
18         * imported/w3c/tools/webdriver/webdriver/transport.py:
19         * imported/w3c/tools/wptrunner/MANIFEST.in:
20         * imported/w3c/tools/wptrunner/README.rst:
21         * imported/w3c/tools/wptrunner/docs/conf.py:
22         * imported/w3c/tools/wptrunner/docs/usage.rst:
23         * imported/w3c/tools/wptrunner/setup.py:
24         * imported/w3c/tools/wptrunner/tox.ini:
25         * imported/w3c/tools/wptrunner/wptrunner/browsers/__init__.py:
26         * imported/w3c/tools/wptrunner/wptrunner/browsers/b2g_setup/certtest_app.zip: Removed.
27         * imported/w3c/tools/wptrunner/wptrunner/browsers/chrome_android.py: Copied from WebDriverTests/imported/w3c/tools/wptrunner/wptrunner/browsers/ie.py.
28         * imported/w3c/tools/wptrunner/wptrunner/browsers/firefox.py:
29         * imported/w3c/tools/wptrunner/wptrunner/browsers/ie.py:
30         * imported/w3c/tools/wptrunner/wptrunner/browsers/servo.py:
31         * imported/w3c/tools/wptrunner/wptrunner/environment.py:
32         * imported/w3c/tools/wptrunner/wptrunner/executors/base.py:
33         * imported/w3c/tools/wptrunner/wptrunner/executors/executormarionette.py:
34         * imported/w3c/tools/wptrunner/wptrunner/executors/executorselenium.py:
35         * imported/w3c/tools/wptrunner/wptrunner/executors/executorservo.py:
36         * imported/w3c/tools/wptrunner/wptrunner/executors/executorservodriver.py:
37         * imported/w3c/tools/wptrunner/wptrunner/manifestupdate.py:
38         * imported/w3c/tools/wptrunner/wptrunner/metadata.py:
39         * imported/w3c/tools/wptrunner/wptrunner/stability.py:
40         * imported/w3c/tools/wptrunner/wptrunner/testloader.py:
41         * imported/w3c/tools/wptrunner/wptrunner/testrunner.py:
42         * imported/w3c/tools/wptrunner/wptrunner/tests/test_hosts.py:
43         * imported/w3c/tools/wptrunner/wptrunner/update/__init__.py:
44         * imported/w3c/tools/wptrunner/wptrunner/update/sync.py:
45         * imported/w3c/tools/wptrunner/wptrunner/update/tree.py:
46         * imported/w3c/tools/wptrunner/wptrunner/vcs.py:
47         * imported/w3c/tools/wptrunner/wptrunner/webdriver_server.py:
48         * imported/w3c/tools/wptrunner/wptrunner/wptcommandline.py:
49         * imported/w3c/tools/wptrunner/wptrunner/wptmanifest/tests/test_serializer.py:
50         * imported/w3c/tools/wptrunner/wptrunner/wptmanifest/tests/test_tokenizer.py:
51         * imported/w3c/tools/wptrunner/wptrunner/wptrunner.py:
52         * imported/w3c/tools/wptrunner/wptrunner/wpttest.py:
53         * imported/w3c/webdriver/tests/execute_async_script/__init__.py: Added.
54         * imported/w3c/webdriver/tests/execute_script/__init__.py: Added.
55         * imported/w3c/webdriver/tests/sessions/new_session/response.py:
56
57 2018-01-22  Carlos Garcia Campos  <cgarcia@igalia.com>
58
59         [GTK] WebDriver: test imported/w3c/webdriver/tests/sessions/new_session/response.py is crashing in the bots
60         https://bugs.webkit.org/show_bug.cgi?id=181904
61
62         Reviewed by Carlos Alberto Lopez Perez.
63
64         Unskip imported/w3c/webdriver/tests/sessions/new_session/response.py.
65
66         * TestExpectations.json:
67
68 2018-01-19  Carlos Garcia Campos  <cgarcia@igalia.com>
69
70         Unreviewed GTK+ gardening. Skip imported/w3c/webdriver/tests/sessions/new_session/response.py.
71
72         It's causing a crash in the driver process and affecting all other tests.
73
74         * TestExpectations.json:
75
76 2018-01-18  Carlos Garcia Campos  <cgarcia@igalia.com>
77
78         Unreviewed. Update Selenium WebDriver imported tests.
79
80         * imported/selenium/importer.json:
81         * imported/selenium/py/test/selenium/webdriver/common/executing_async_javascript_tests.py:
82         (reset_timeouts):
83
84 2018-01-17  Carlos Garcia Campos  <cgarcia@igalia.com>
85
86         WebDriver: ignore the driver in selenium test names when getting expectations
87         https://bugs.webkit.org/show_bug.cgi?id=181738
88
89         Reviewed by Carlos Alberto Lopez Perez.
90
91         Add some expectations for selenium tests.
92
93         * TestExpectations.json:
94
95 2018-01-17  Carlos Garcia Campos  <cgarcia@igalia.com>
96
97         WebDriver: add support for test expectations
98         https://bugs.webkit.org/show_bug.cgi?id=180420
99
100         Reviewed by Carlos Alberto Lopez Perez.
101
102         Add initial test expectations. For now I'm only adding the W3C test expectations, selenium ones will be added in
103         a follow up patch.
104
105         * TestExpectations.json: Added.
106
107 2018-01-11  Carlos Garcia Campos  <cgarcia@igalia.com>
108
109         Unreviewed. Update Selenium WebDriver imported tests.
110
111         * imported/selenium/importer.json:
112         * imported/selenium/py/conftest.py:
113         * imported/selenium/py/selenium/__init__.py:
114         * imported/selenium/py/selenium/webdriver/__init__.py:
115         * imported/selenium/py/selenium/webdriver/common/action_chains.py:
116         * imported/selenium/py/selenium/webdriver/common/service.py:
117         * imported/selenium/py/selenium/webdriver/remote/remote_connection.py:
118         * imported/selenium/py/selenium/webdriver/remote/switch_to.py:
119         * imported/selenium/py/selenium/webdriver/remote/webdriver.py:
120         * imported/selenium/py/selenium/webdriver/remote/webelement.py:
121         * imported/selenium/py/selenium/webdriver/support/expected_conditions.py:
122         * imported/selenium/py/selenium/webdriver/webkitgtk/options.py:
123         * imported/selenium/py/test/selenium/webdriver/common/alerts_tests.py:
124         * imported/selenium/py/test/selenium/webdriver/common/api_example_tests.py:
125         * imported/selenium/py/test/selenium/webdriver/common/appcache_tests.py:
126         * imported/selenium/py/test/selenium/webdriver/common/driver_element_finding_tests.py:
127         * imported/selenium/py/test/selenium/webdriver/common/executing_async_javascript_tests.py:
128         * imported/selenium/py/test/selenium/webdriver/common/frame_switching_tests.py:
129         * imported/selenium/py/test/selenium/webdriver/common/interactions_tests.py:
130         * imported/selenium/py/test/selenium/webdriver/common/page_load_timeout_tests.py:
131         * imported/selenium/py/test/selenium/webdriver/common/position_and_size_tests.py:
132         * imported/selenium/py/test/selenium/webdriver/common/rendered_webelement_tests.py:
133         * imported/selenium/py/test/selenium/webdriver/common/select_class_tests.py:
134         * imported/selenium/py/test/selenium/webdriver/common/visibility_tests.py:
135         * imported/selenium/py/test/selenium/webdriver/common/w3c_interaction_tests.py:
136         * imported/selenium/py/test/selenium/webdriver/common/webdriverwait_tests.py:
137         * imported/selenium/py/test/selenium/webdriver/common/window_tests.py:
138
139 2018-01-10  Carlos Garcia Campos  <cgarcia@igalia.com>
140
141         Unreviewed. Update W3C WebDriver imported tests.
142
143         * imported/w3c/importer.json:
144         * imported/w3c/webdriver/tests/sessions/new_session/invalid_capabilities.py:
145         * imported/w3c/webdriver/tests/sessions/new_session/support/create.py:
146
147 2018-01-10  Carlos Garcia Campos  <cgarcia@igalia.com>
148
149         Unreviewed. Update W3C WebDriver imported tests.
150
151         * imported/w3c/importer.json:
152         * imported/w3c/tools/wptrunner/wptrunner/browsers/firefox.py:
153         * imported/w3c/tools/wptrunner/wptrunner/browsers/servo.py:
154         * imported/w3c/tools/wptrunner/wptrunner/environment.py:
155         * imported/w3c/tools/wptrunner/wptrunner/executors/base.py:
156         * imported/w3c/tools/wptrunner/wptrunner/executors/executormarionette.py:
157         * imported/w3c/tools/wptrunner/wptrunner/executors/executorservo.py:
158         * imported/w3c/tools/wptrunner/wptrunner/executors/pytestrunner/runner.py:
159         * imported/w3c/tools/wptrunner/wptrunner/testrunner.py:
160         * imported/w3c/tools/wptrunner/wptrunner/update/update.py:
161         * imported/w3c/tools/wptrunner/wptrunner/webdriver_server.py:
162         * imported/w3c/tools/wptrunner/wptrunner/wptlogging.py:
163         * imported/w3c/tools/wptrunner/wptrunner/wptrunner.py:
164         * imported/w3c/webdriver/OWNERS:
165         * imported/w3c/webdriver/interface/interface.html: Removed.
166         * imported/w3c/webdriver/tests/actions/modifier_click.py:
167         * imported/w3c/webdriver/tests/actions/mouse.py:
168         * imported/w3c/webdriver/tests/actions/mouse_dblclick.py: Added.
169         * imported/w3c/webdriver/tests/actions/sequence.py:
170         * imported/w3c/webdriver/tests/actions/support/mouse.py: Added.
171         * imported/w3c/webdriver/tests/cookies/add_cookie.py:
172         * imported/w3c/webdriver/tests/cookies/get_named_cookie.py:
173         * imported/w3c/webdriver/tests/element_retrieval/__init__.py: Copied from WebDriverTests/imported/w3c/webdriver/tests/retrieval/__init__.py.
174         * imported/w3c/webdriver/tests/element_retrieval/find_element.py: Renamed from WebDriverTests/imported/w3c/webdriver/tests/retrieval/find_element.py.
175         * imported/w3c/webdriver/tests/element_retrieval/find_element_from_element.py: Renamed from WebDriverTests/imported/w3c/webdriver/tests/retrieval/find_element_from_element.py.
176         * imported/w3c/webdriver/tests/element_retrieval/find_elements.py: Renamed from WebDriverTests/imported/w3c/webdriver/tests/retrieval/find_elements.py.
177         * imported/w3c/webdriver/tests/element_retrieval/find_elements_from_element.py: Renamed from WebDriverTests/imported/w3c/webdriver/tests/retrieval/find_element_from_elements.py.
178         * imported/w3c/webdriver/tests/element_send_keys/__init__.py: Renamed from WebDriverTests/imported/w3c/webdriver/tests/retrieval/__init__.py.
179         * imported/w3c/webdriver/tests/element_send_keys/interactability.py: Added.
180         * imported/w3c/webdriver/tests/element_send_keys/scroll_into_view.py: Added.
181         * imported/w3c/webdriver/tests/execute_script/cyclic.py: Added.
182         * imported/w3c/webdriver/tests/get_window_rect.py:
183         * imported/w3c/webdriver/tests/interface.html:
184         * imported/w3c/webdriver/tests/navigation/current_url.py:
185         * imported/w3c/webdriver/tests/support/asserts.py:
186         * imported/w3c/webdriver/tests/support/fixtures.py:
187
188 2017-12-14  Carlos Garcia Campos  <cgarcia@igalia.com>
189
190         WebDriver: add a common way to run tests with pytest
191         https://bugs.webkit.org/show_bug.cgi?id=180800
192
193         Reviewed by Carlos Alberto Lopez Perez.
194
195         Remove conftest.py since pytest_timeout plugin is now always loaded from the command line.
196
197         * imported/w3c/conftest.py: Removed.
198
199 2017-12-04  Carlos Garcia Campos  <cgarcia@igalia.com>
200
201         Unreviewed. Update W3C WebDriver imported tests.
202
203         * imported/w3c/importer.json:
204         * imported/w3c/tools/webdriver/webdriver/client.py:
205         * imported/w3c/tools/webdriver/webdriver/error.py:
206         * imported/w3c/webdriver/tests/element_retrieval/get_active_element.py:
207         * imported/w3c/webdriver/tests/interaction/element_clear.py:
208         * imported/w3c/webdriver/tests/sessions/status.py:
209         * imported/w3c/webdriver/tests/support/wait.py:
210
211 2017-12-01  Carlos Garcia Campos  <cgarcia@igalia.com>
212
213         WebDriver: auto-install pytest instead of importing it from wpt tools directory
214         https://bugs.webkit.org/show_bug.cgi?id=180243
215
216         Reviewed by Brian Burg.
217
218         * imported/selenium/py/conftest.py: Stop patching this to use yield_fixture, new pytest supports this.
219         * imported/selenium/py/setup.cfg: Stop patching this, since pytest supports tool:pytest as group name.
220         * imported/selenium/py/test/selenium/webdriver/common/alerts_tests.py: Stop patching this to use yield_fixture,
221         new pytest supports this.
222         * imported/selenium/py/test/selenium/webdriver/common/cookie_tests.py: Ditto.
223         * imported/selenium/py/test/selenium/webdriver/common/frame_switching_tests.py: Ditto.
224         * imported/selenium/py/test/selenium/webdriver/common/page_load_timeout_tests.py: Ditto.
225         * imported/selenium/py/test/selenium/webdriver/common/window_switching_tests.py: Ditto.
226         * imported/selenium/py/test/selenium/webdriver/safari/conftest.py: Ditto.
227         * imported/selenium/py/test/selenium/webdriver/support/event_firing_webdriver_tests.py: Ditto.
228         * imported/w3c/importer.json: Stop importing pytest.
229         * imported/w3c/pytest.ini: Added.
230         * imported/w3c/tools/pytest/: Removed.
231
232 2017-11-30  Carlos Garcia Campos  <cgarcia@igalia.com>
233
234         WebDriver: add support for importing and running selenium tests
235         https://bugs.webkit.org/show_bug.cgi?id=180145
236
237         Reviewed by Brian Burg.
238
239         * imported/selenium/importer.json: Added.
240         * imported/selenium/common/: Added.
241         * imported/selenium/py/: Added.
242
243 2017-11-28  Carlos Garcia Campos  <cgarcia@igalia.com>
244
245         Unreviewed. Update W3C WebDriver imported tests.
246
247         * imported/w3c/importer.json:
248         * imported/w3c/tools/webdriver/webdriver/client.py:
249         * imported/w3c/tools/webdriver/webdriver/error.py:
250         * imported/w3c/tools/wptrunner/docs/conf.py:
251         * imported/w3c/tools/wptrunner/wptrunner/browsers/ie.py:
252         * imported/w3c/tools/wptrunner/wptrunner/executors/base.py:
253         * imported/w3c/tools/wptrunner/wptrunner/executors/pytestrunner/runner.py:
254         * imported/w3c/tools/wptrunner/wptrunner/stability.py:
255         * imported/w3c/tools/wptrunner/wptrunner/testdriver-vendor.js: Added.
256         * imported/w3c/tools/wptrunner/wptrunner/update/sync.py:
257         * imported/w3c/tools/wptrunner/wptrunner/wptcommandline.py:
258         * imported/w3c/webdriver/interface/interface.html:
259         * imported/w3c/webdriver/tests/document_handling/page_source.py: Added.
260         * imported/w3c/webdriver/tests/element_click/bubbling.py: Added.
261         * imported/w3c/webdriver/tests/element_retrieval/get_active_element.py:
262         * imported/w3c/webdriver/tests/execute_async_script/user_prompts.py: Added.
263         * imported/w3c/webdriver/tests/execute_script/user_prompts.py: Added.
264         * imported/w3c/webdriver/tests/sessions/status.py: Added.
265         * imported/w3c/webdriver/tests/status.py: Removed.
266         * imported/w3c/webdriver/tests/support/fixtures.py:
267         * imported/w3c/webdriver/tests/support/wait.py:
268         * imported/w3c/webdriver/tests/user_prompts/accept_alert.py:
269         * imported/w3c/webdriver/tests/user_prompts/dismiss_alert.py:
270         * imported/w3c/webdriver/tests/user_prompts/get_alert_text.py:
271         * imported/w3c/webdriver/tests/user_prompts/send_alert_text.py:
272
273 2017-11-28  Carlos Garcia Campos  <cgarcia@igalia.com>
274
275         WebDriver: add timeout option to run-webdriver-tests script
276         https://bugs.webkit.org/show_bug.cgi?id=179940
277
278         Reviewed by Carlos Alberto Lopez Perez.
279
280         Add a base conftest.py to load pytest_timeout plugin.
281
282         * imported/w3c/conftest.py: Added.
283
284 2017-11-21  Carlos Garcia Campos  <cgarcia@igalia.com>
285
286         Unreviewed. Update W3C WebDriver imported tests.
287
288         * imported/w3c/importer.json:
289         * imported/w3c/tools/webdriver/webdriver/client.py:
290         * imported/w3c/tools/webdriver/webdriver/error.py:
291         * imported/w3c/tools/webdriver/webdriver/protocol.py: Added.
292         * imported/w3c/tools/webdriver/webdriver/transport.py:
293         * imported/w3c/tools/wptrunner/MANIFEST.in:
294         * imported/w3c/tools/wptrunner/requirements_firefox.txt:
295         * imported/w3c/tools/wptrunner/requirements_opera.txt: Added.
296         * imported/w3c/tools/wptrunner/wptrunner/browsers/__init__.py:
297         * imported/w3c/tools/wptrunner/wptrunner/browsers/edge.py:
298         * imported/w3c/tools/wptrunner/wptrunner/browsers/firefox.py:
299         * imported/w3c/tools/wptrunner/wptrunner/browsers/opera.py: Added.
300         * imported/w3c/tools/wptrunner/wptrunner/environment.py:
301         * imported/w3c/tools/wptrunner/wptrunner/executors/base.py:
302         * imported/w3c/tools/wptrunner/wptrunner/executors/executoredge.py: Added.
303         * imported/w3c/tools/wptrunner/wptrunner/executors/executormarionette.py:
304         * imported/w3c/tools/wptrunner/wptrunner/executors/executoropera.py: Added.
305         * imported/w3c/tools/wptrunner/wptrunner/executors/executorselenium.py:
306         * imported/w3c/tools/wptrunner/wptrunner/executors/pytestrunner/runner.py:
307         * imported/w3c/tools/wptrunner/wptrunner/executors/testharness_webdriver.js:
308         * imported/w3c/tools/wptrunner/wptrunner/executors/testharness_webdriver_resume.js: Added.
309         * imported/w3c/tools/wptrunner/wptrunner/stability.py: Added.
310         * imported/w3c/tools/wptrunner/wptrunner/testdriver-extra.js: Added.
311         * imported/w3c/tools/wptrunner/wptrunner/testloader.py:
312         * imported/w3c/tools/wptrunner/wptrunner/testrunner.py:
313         * imported/w3c/tools/wptrunner/wptrunner/update/state.py:
314         * imported/w3c/tools/wptrunner/wptrunner/update/sync.py:
315         * imported/w3c/tools/wptrunner/wptrunner/webdriver_server.py:
316         * imported/w3c/tools/wptrunner/wptrunner/wptcommandline.py:
317         * imported/w3c/tools/wptrunner/wptrunner/wptlogging.py:
318         * imported/w3c/tools/wptrunner/wptrunner/wptrunner.py:
319         * imported/w3c/tools/wptrunner/wptrunner/wpttest.py:
320         * imported/w3c/webdriver/tests/actions/conftest.py:
321         * imported/w3c/webdriver/tests/actions/key.py:
322         * imported/w3c/webdriver/tests/actions/key_shortcuts.py: Added.
323         * imported/w3c/webdriver/tests/actions/modifier_click.py: Added.
324         * imported/w3c/webdriver/tests/actions/mouse.py:
325         * imported/w3c/webdriver/tests/actions/sequence.py:
326         * imported/w3c/webdriver/tests/actions/special_keys.py:
327         * imported/w3c/webdriver/tests/actions/support/keys.py:
328         * imported/w3c/webdriver/tests/actions/support/test_actions_wdspec.html:
329         * imported/w3c/webdriver/tests/cookies/add_cookie.py:
330         * imported/w3c/webdriver/tests/cookies/get_named_cookie.py:
331         * imported/w3c/webdriver/tests/element_click/stale.py: Added.
332         * imported/w3c/webdriver/tests/element_retrieval/get_active_element.py:
333         * imported/w3c/webdriver/tests/interaction/element_clear.py: Added.
334         * imported/w3c/webdriver/tests/navigation/get_title.py:
335         * imported/w3c/webdriver/tests/retrieval/find_element.py:
336         * imported/w3c/webdriver/tests/retrieval/find_element_from_element.py:
337         * imported/w3c/webdriver/tests/retrieval/find_element_from_elements.py:
338         * imported/w3c/webdriver/tests/retrieval/find_elements.py:
339         * imported/w3c/webdriver/tests/sessions/new_session/support/__init__.py:
340         * imported/w3c/webdriver/tests/state/get_element_attribute.py:
341         * imported/w3c/webdriver/tests/state/get_element_property.py:
342         * imported/w3c/webdriver/tests/state/get_element_tag_name.py:
343         * imported/w3c/webdriver/tests/state/is_element_selected.py:
344         * imported/w3c/webdriver/tests/support/asserts.py:
345         * imported/w3c/webdriver/tests/user_prompts/send_alert_text.py: Added.
346
347 2017-09-21  Carlos Garcia Campos  <cgarcia@igalia.com>
348
349         WebDriver: Add support to import and run W3C tests
350         https://bugs.webkit.org/show_bug.cgi?id=177304
351
352         Reviewed by Brian Burg.
353
354         Add json file used by the importer and the result of running the importer.
355
356         * imported/w3c/importer.json: Added.
357         * imported/w3c/tools/pytest/: Added.
358         * imported/w3c/tools/webdriver/: Added.
359         * imported/w3c/tools/wptrunner/: Added.
360         * imported/w3c/webdriver/: Added.