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