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