RESOLVED FIXED 180800
WebDriver: add a common way to run tests with pytest
https://bugs.webkit.org/show_bug.cgi?id=180800
Summary WebDriver: add a common way to run tests with pytest
Carlos Garcia Campos
Reported 2017-12-14 03:18:39 PST
We currently use pytestrunner from wpt for w3c tests and our own code for selenium tests. Using the same code for both would simplify everything, but also allows us to have a custom results recorder to support other test expectations like TIMEOUT.
Attachments
Patch (21.92 KB, patch)
2017-12-14 03:29 PST, Carlos Garcia Campos
clopez: review+
Carlos Garcia Campos
Comment 1 2017-12-14 03:29:03 PST
EWS Watchlist
Comment 2 2017-12-14 03:32:01 PST
Attachment 329342 [details] did not pass style-queue: ERROR: Tools/Scripts/webkitpy/webdriver_tests/webdriver_w3c_executor.py:149: [WebDriverW3CExecutor.run] Instance of 'WebDriverW3CExecutor' has no 'protocol' member [pylint/E1101] [5] ERROR: Tools/Scripts/webkitpy/webdriver_tests/webdriver_w3c_executor.py:150: [WebDriverW3CExecutor.run] Instance of 'WebDriverW3CExecutor' has no 'protocol' member [pylint/E1101] [5] ERROR: Tools/Scripts/webkitpy/webdriver_tests/webdriver_w3c_executor.py:151: [WebDriverW3CExecutor.run] Instance of 'WebDriverW3CExecutor' has no 'protocol' member [pylint/E1101] [5] ERROR: Tools/Scripts/webkitpy/webdriver_tests/webdriver_w3c_executor.py:152: [WebDriverW3CExecutor.run] Instance of 'WebDriverW3CExecutor' has no 'server_config' member [pylint/E1101] [5] Total errors found: 4 in 7 files If any of these errors are false positives, please file a bug against check-webkit-style.
Carlos Garcia Campos
Comment 3 2017-12-14 06:37:51 PST
Radar WebKit Bug Importer
Comment 4 2017-12-14 06:38:18 PST
Note You need to log in before you can comment on or make changes to this bug.