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