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