ab24b212bf857eb259a4de6ac5bce1f670ff7b54
[WebKit-https.git] / WebDriverTests / ChangeLog
1 2018-01-10  Carlos Garcia Campos  <cgarcia@igalia.com>
2
3         Unreviewed. Update W3C WebDriver imported tests.
4
5         * imported/w3c/importer.json:
6         * imported/w3c/tools/wptrunner/wptrunner/browsers/firefox.py:
7         * imported/w3c/tools/wptrunner/wptrunner/browsers/servo.py:
8         * imported/w3c/tools/wptrunner/wptrunner/environment.py:
9         * imported/w3c/tools/wptrunner/wptrunner/executors/base.py:
10         * imported/w3c/tools/wptrunner/wptrunner/executors/executormarionette.py:
11         * imported/w3c/tools/wptrunner/wptrunner/executors/executorservo.py:
12         * imported/w3c/tools/wptrunner/wptrunner/executors/pytestrunner/runner.py:
13         * imported/w3c/tools/wptrunner/wptrunner/testrunner.py:
14         * imported/w3c/tools/wptrunner/wptrunner/update/update.py:
15         * imported/w3c/tools/wptrunner/wptrunner/webdriver_server.py:
16         * imported/w3c/tools/wptrunner/wptrunner/wptlogging.py:
17         * imported/w3c/tools/wptrunner/wptrunner/wptrunner.py:
18         * imported/w3c/webdriver/OWNERS:
19         * imported/w3c/webdriver/interface/interface.html: Removed.
20         * imported/w3c/webdriver/tests/actions/modifier_click.py:
21         * imported/w3c/webdriver/tests/actions/mouse.py:
22         * imported/w3c/webdriver/tests/actions/mouse_dblclick.py: Added.
23         * imported/w3c/webdriver/tests/actions/sequence.py:
24         * imported/w3c/webdriver/tests/actions/support/mouse.py: Added.
25         * imported/w3c/webdriver/tests/cookies/add_cookie.py:
26         * imported/w3c/webdriver/tests/cookies/get_named_cookie.py:
27         * imported/w3c/webdriver/tests/element_retrieval/__init__.py: Copied from WebDriverTests/imported/w3c/webdriver/tests/retrieval/__init__.py.
28         * imported/w3c/webdriver/tests/element_retrieval/find_element.py: Renamed from WebDriverTests/imported/w3c/webdriver/tests/retrieval/find_element.py.
29         * imported/w3c/webdriver/tests/element_retrieval/find_element_from_element.py: Renamed from WebDriverTests/imported/w3c/webdriver/tests/retrieval/find_element_from_element.py.
30         * imported/w3c/webdriver/tests/element_retrieval/find_elements.py: Renamed from WebDriverTests/imported/w3c/webdriver/tests/retrieval/find_elements.py.
31         * imported/w3c/webdriver/tests/element_retrieval/find_elements_from_element.py: Renamed from WebDriverTests/imported/w3c/webdriver/tests/retrieval/find_element_from_elements.py.
32         * imported/w3c/webdriver/tests/element_send_keys/__init__.py: Renamed from WebDriverTests/imported/w3c/webdriver/tests/retrieval/__init__.py.
33         * imported/w3c/webdriver/tests/element_send_keys/interactability.py: Added.
34         * imported/w3c/webdriver/tests/element_send_keys/scroll_into_view.py: Added.
35         * imported/w3c/webdriver/tests/execute_script/cyclic.py: Added.
36         * imported/w3c/webdriver/tests/get_window_rect.py:
37         * imported/w3c/webdriver/tests/interface.html:
38         * imported/w3c/webdriver/tests/navigation/current_url.py:
39         * imported/w3c/webdriver/tests/support/asserts.py:
40         * imported/w3c/webdriver/tests/support/fixtures.py:
41
42 2017-12-14  Carlos Garcia Campos  <cgarcia@igalia.com>
43
44         WebDriver: add a common way to run tests with pytest
45         https://bugs.webkit.org/show_bug.cgi?id=180800
46
47         Reviewed by Carlos Alberto Lopez Perez.
48
49         Remove conftest.py since pytest_timeout plugin is now always loaded from the command line.
50
51         * imported/w3c/conftest.py: Removed.
52
53 2017-12-04  Carlos Garcia Campos  <cgarcia@igalia.com>
54
55         Unreviewed. Update W3C WebDriver imported tests.
56
57         * imported/w3c/importer.json:
58         * imported/w3c/tools/webdriver/webdriver/client.py:
59         * imported/w3c/tools/webdriver/webdriver/error.py:
60         * imported/w3c/webdriver/tests/element_retrieval/get_active_element.py:
61         * imported/w3c/webdriver/tests/interaction/element_clear.py:
62         * imported/w3c/webdriver/tests/sessions/status.py:
63         * imported/w3c/webdriver/tests/support/wait.py:
64
65 2017-12-01  Carlos Garcia Campos  <cgarcia@igalia.com>
66
67         WebDriver: auto-install pytest instead of importing it from wpt tools directory
68         https://bugs.webkit.org/show_bug.cgi?id=180243
69
70         Reviewed by Brian Burg.
71
72         * imported/selenium/py/conftest.py: Stop patching this to use yield_fixture, new pytest supports this.
73         * imported/selenium/py/setup.cfg: Stop patching this, since pytest supports tool:pytest as group name.
74         * imported/selenium/py/test/selenium/webdriver/common/alerts_tests.py: Stop patching this to use yield_fixture,
75         new pytest supports this.
76         * imported/selenium/py/test/selenium/webdriver/common/cookie_tests.py: Ditto.
77         * imported/selenium/py/test/selenium/webdriver/common/frame_switching_tests.py: Ditto.
78         * imported/selenium/py/test/selenium/webdriver/common/page_load_timeout_tests.py: Ditto.
79         * imported/selenium/py/test/selenium/webdriver/common/window_switching_tests.py: Ditto.
80         * imported/selenium/py/test/selenium/webdriver/safari/conftest.py: Ditto.
81         * imported/selenium/py/test/selenium/webdriver/support/event_firing_webdriver_tests.py: Ditto.
82         * imported/w3c/importer.json: Stop importing pytest.
83         * imported/w3c/pytest.ini: Added.
84         * imported/w3c/tools/pytest/: Removed.
85
86 2017-11-30  Carlos Garcia Campos  <cgarcia@igalia.com>
87
88         WebDriver: add support for importing and running selenium tests
89         https://bugs.webkit.org/show_bug.cgi?id=180145
90
91         Reviewed by Brian Burg.
92
93         * imported/selenium/importer.json: Added.
94         * imported/selenium/common/: Added.
95         * imported/selenium/py/: Added.
96
97 2017-11-28  Carlos Garcia Campos  <cgarcia@igalia.com>
98
99         Unreviewed. Update W3C WebDriver imported tests.
100
101         * imported/w3c/importer.json:
102         * imported/w3c/tools/webdriver/webdriver/client.py:
103         * imported/w3c/tools/webdriver/webdriver/error.py:
104         * imported/w3c/tools/wptrunner/docs/conf.py:
105         * imported/w3c/tools/wptrunner/wptrunner/browsers/ie.py:
106         * imported/w3c/tools/wptrunner/wptrunner/executors/base.py:
107         * imported/w3c/tools/wptrunner/wptrunner/executors/pytestrunner/runner.py:
108         * imported/w3c/tools/wptrunner/wptrunner/stability.py:
109         * imported/w3c/tools/wptrunner/wptrunner/testdriver-vendor.js: Added.
110         * imported/w3c/tools/wptrunner/wptrunner/update/sync.py:
111         * imported/w3c/tools/wptrunner/wptrunner/wptcommandline.py:
112         * imported/w3c/webdriver/interface/interface.html:
113         * imported/w3c/webdriver/tests/document_handling/page_source.py: Added.
114         * imported/w3c/webdriver/tests/element_click/bubbling.py: Added.
115         * imported/w3c/webdriver/tests/element_retrieval/get_active_element.py:
116         * imported/w3c/webdriver/tests/execute_async_script/user_prompts.py: Added.
117         * imported/w3c/webdriver/tests/execute_script/user_prompts.py: Added.
118         * imported/w3c/webdriver/tests/sessions/status.py: Added.
119         * imported/w3c/webdriver/tests/status.py: Removed.
120         * imported/w3c/webdriver/tests/support/fixtures.py:
121         * imported/w3c/webdriver/tests/support/wait.py:
122         * imported/w3c/webdriver/tests/user_prompts/accept_alert.py:
123         * imported/w3c/webdriver/tests/user_prompts/dismiss_alert.py:
124         * imported/w3c/webdriver/tests/user_prompts/get_alert_text.py:
125         * imported/w3c/webdriver/tests/user_prompts/send_alert_text.py:
126
127 2017-11-28  Carlos Garcia Campos  <cgarcia@igalia.com>
128
129         WebDriver: add timeout option to run-webdriver-tests script
130         https://bugs.webkit.org/show_bug.cgi?id=179940
131
132         Reviewed by Carlos Alberto Lopez Perez.
133
134         Add a base conftest.py to load pytest_timeout plugin.
135
136         * imported/w3c/conftest.py: Added.
137
138 2017-11-21  Carlos Garcia Campos  <cgarcia@igalia.com>
139
140         Unreviewed. Update W3C WebDriver imported tests.
141
142         * imported/w3c/importer.json:
143         * imported/w3c/tools/webdriver/webdriver/client.py:
144         * imported/w3c/tools/webdriver/webdriver/error.py:
145         * imported/w3c/tools/webdriver/webdriver/protocol.py: Added.
146         * imported/w3c/tools/webdriver/webdriver/transport.py:
147         * imported/w3c/tools/wptrunner/MANIFEST.in:
148         * imported/w3c/tools/wptrunner/requirements_firefox.txt:
149         * imported/w3c/tools/wptrunner/requirements_opera.txt: Added.
150         * imported/w3c/tools/wptrunner/wptrunner/browsers/__init__.py:
151         * imported/w3c/tools/wptrunner/wptrunner/browsers/edge.py:
152         * imported/w3c/tools/wptrunner/wptrunner/browsers/firefox.py:
153         * imported/w3c/tools/wptrunner/wptrunner/browsers/opera.py: Added.
154         * imported/w3c/tools/wptrunner/wptrunner/environment.py:
155         * imported/w3c/tools/wptrunner/wptrunner/executors/base.py:
156         * imported/w3c/tools/wptrunner/wptrunner/executors/executoredge.py: Added.
157         * imported/w3c/tools/wptrunner/wptrunner/executors/executormarionette.py:
158         * imported/w3c/tools/wptrunner/wptrunner/executors/executoropera.py: Added.
159         * imported/w3c/tools/wptrunner/wptrunner/executors/executorselenium.py:
160         * imported/w3c/tools/wptrunner/wptrunner/executors/pytestrunner/runner.py:
161         * imported/w3c/tools/wptrunner/wptrunner/executors/testharness_webdriver.js:
162         * imported/w3c/tools/wptrunner/wptrunner/executors/testharness_webdriver_resume.js: Added.
163         * imported/w3c/tools/wptrunner/wptrunner/stability.py: Added.
164         * imported/w3c/tools/wptrunner/wptrunner/testdriver-extra.js: Added.
165         * imported/w3c/tools/wptrunner/wptrunner/testloader.py:
166         * imported/w3c/tools/wptrunner/wptrunner/testrunner.py:
167         * imported/w3c/tools/wptrunner/wptrunner/update/state.py:
168         * imported/w3c/tools/wptrunner/wptrunner/update/sync.py:
169         * imported/w3c/tools/wptrunner/wptrunner/webdriver_server.py:
170         * imported/w3c/tools/wptrunner/wptrunner/wptcommandline.py:
171         * imported/w3c/tools/wptrunner/wptrunner/wptlogging.py:
172         * imported/w3c/tools/wptrunner/wptrunner/wptrunner.py:
173         * imported/w3c/tools/wptrunner/wptrunner/wpttest.py:
174         * imported/w3c/webdriver/tests/actions/conftest.py:
175         * imported/w3c/webdriver/tests/actions/key.py:
176         * imported/w3c/webdriver/tests/actions/key_shortcuts.py: Added.
177         * imported/w3c/webdriver/tests/actions/modifier_click.py: Added.
178         * imported/w3c/webdriver/tests/actions/mouse.py:
179         * imported/w3c/webdriver/tests/actions/sequence.py:
180         * imported/w3c/webdriver/tests/actions/special_keys.py:
181         * imported/w3c/webdriver/tests/actions/support/keys.py:
182         * imported/w3c/webdriver/tests/actions/support/test_actions_wdspec.html:
183         * imported/w3c/webdriver/tests/cookies/add_cookie.py:
184         * imported/w3c/webdriver/tests/cookies/get_named_cookie.py:
185         * imported/w3c/webdriver/tests/element_click/stale.py: Added.
186         * imported/w3c/webdriver/tests/element_retrieval/get_active_element.py:
187         * imported/w3c/webdriver/tests/interaction/element_clear.py: Added.
188         * imported/w3c/webdriver/tests/navigation/get_title.py:
189         * imported/w3c/webdriver/tests/retrieval/find_element.py:
190         * imported/w3c/webdriver/tests/retrieval/find_element_from_element.py:
191         * imported/w3c/webdriver/tests/retrieval/find_element_from_elements.py:
192         * imported/w3c/webdriver/tests/retrieval/find_elements.py:
193         * imported/w3c/webdriver/tests/sessions/new_session/support/__init__.py:
194         * imported/w3c/webdriver/tests/state/get_element_attribute.py:
195         * imported/w3c/webdriver/tests/state/get_element_property.py:
196         * imported/w3c/webdriver/tests/state/get_element_tag_name.py:
197         * imported/w3c/webdriver/tests/state/is_element_selected.py:
198         * imported/w3c/webdriver/tests/support/asserts.py:
199         * imported/w3c/webdriver/tests/user_prompts/send_alert_text.py: Added.
200
201 2017-09-21  Carlos Garcia Campos  <cgarcia@igalia.com>
202
203         WebDriver: Add support to import and run W3C tests
204         https://bugs.webkit.org/show_bug.cgi?id=177304
205
206         Reviewed by Brian Burg.
207
208         Add json file used by the importer and the result of running the importer.
209
210         * imported/w3c/importer.json: Added.
211         * imported/w3c/tools/pytest/: Added.
212         * imported/w3c/tools/webdriver/: Added.
213         * imported/w3c/tools/wptrunner/: Added.
214         * imported/w3c/webdriver/: Added.