Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge r225447 - WebDriver: auto-install pytest instead of importing i…
…t from wpt tools directory https://bugs.webkit.org/show_bug.cgi?id=180243 Reviewed by Brian Burg. Tools: We don't really need the (old) version included in wpt tools dir, so we can simply remove it and use autoinstall instead. * Scripts/webkitpy/thirdparty/__init__.py: (AutoinstallImportHook.find_module): Check pytest. (AutoinstallImportHook._install_pytest): Install pytest. * Scripts/webkitpy/webdriver_tests/webdriver_selenium_executor.py: Import autoinstalled pytest. * Scripts/webkitpy/webdriver_tests/webdriver_test_runner_w3c.py: (WebDriverTestRunnerW3C.run): Update the subtest path since the new pytest uses a different strategy for rootdir. * Scripts/webkitpy/webdriver_tests/webdriver_w3c_executor.py: Import autoinstalled pytest. WebDriverTests: * imported/selenium/py/conftest.py: Stop patching this to use yield_fixture, new pytest supports this. * imported/selenium/py/setup.cfg: Stop patching this, since pytest supports tool:pytest as group name. * imported/selenium/py/test/selenium/webdriver/common/alerts_tests.py: Stop patching this to use yield_fixture, new pytest supports this. * imported/selenium/py/test/selenium/webdriver/common/cookie_tests.py: Ditto. * imported/selenium/py/test/selenium/webdriver/common/frame_switching_tests.py: Ditto. * imported/selenium/py/test/selenium/webdriver/common/page_load_timeout_tests.py: Ditto. * imported/selenium/py/test/selenium/webdriver/common/window_switching_tests.py: Ditto. * imported/selenium/py/test/selenium/webdriver/safari/conftest.py: Ditto. * imported/selenium/py/test/selenium/webdriver/support/event_firing_webdriver_tests.py: Ditto. * imported/w3c/importer.json: Stop importing pytest. * imported/w3c/pytest.ini: Added. * imported/w3c/tools/pytest/: Removed.
- Loading branch information
1 parent
517fc5b
commit c6f9488
Showing
92 changed files
with
68 additions
and
18,862 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# Pytest config file. We don't have any special configuration for pytest, | ||
# but the existance of this file here determines the rootdir used by pytest. |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
8 changes: 0 additions & 8 deletions
8
WebDriverTests/imported/w3c/tools/pytest/.github/ISSUE_TEMPLATE.md
This file was deleted.
Oops, something went wrong.
8 changes: 0 additions & 8 deletions
8
WebDriverTests/imported/w3c/tools/pytest/.github/PULL_REQUEST_TEMPLATE.md
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.