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