Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge r227127 - WebDriver: ignore the driver in selenium test names w…
…hen getting expectations https://bugs.webkit.org/show_bug.cgi?id=181738 Reviewed by Carlos Alberto Lopez Perez. Tools: In selenium tests, the driver is added as a parameter to every test which results in tests names like foo[DriverName] or foo[DriverName-param2] in case of tests using more parameters. We don't want to include the driver name in the test expectations file, so we need to remove it when querying the expectations. * Scripts/webkitpy/webdriver_tests/pytest_runner.py: (TestExpectationsMarker.__init__): Save the param to ignore. (TestExpectationsMarker._item_name): Return the name of the test without the para to ignore. (TestExpectationsMarker.pytest_collection_modifyitems): Use _item_name(). (run): Pass param to ignore to TestExpectationsMarker(). * Scripts/webkitpy/webdriver_tests/webdriver_selenium_executor.py: (WebDriverSeleniumExecutor.__init__): Save the driver name. (WebDriverSeleniumExecutor.run): Pass the driver name as param to ignore. WebDriverTests: Add some expectations for selenium tests. * TestExpectations.json:
- Loading branch information
1 parent
8b2d6c4
commit b2ca7a5
Showing
5 changed files
with
160 additions
and
6 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