[Webkit-unassigned] [Bug 187039] New: Add support for testdriver WPT tests
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Jun 26 06:28:06 PDT 2018
https://bugs.webkit.org/show_bug.cgi?id=187039
Bug ID: 187039
Summary: Add support for testdriver WPT tests
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Tools / Tests
Assignee: webkit-unassigned at lists.webkit.org
Reporter: fred.wang at free.fr
CC: cgarcia at igalia.com, lforschler at apple.com,
Ms2ger at igalia.com, rego at igalia.com, youennf at gmail.com,
zan at falconsigh.net
Some new WPT tests upstream rely on testdriver.js to emulate user interaction (for now click and key events). Currently, it does not seem we have imported any one into WebKit repository.
For documentation, see
https://web-platform-tests.org/writing-tests/testdriver.html
https://github.com/web-platform-tests/wpt/blob/master/docs/_writing-tests/testdriver-tutorial.md
https://github.com/web-platform-tests/wpt/blob/master/resources/testdriver.js
https://github.com/web-platform-tests/wpt/blob/master/resources/testdriver-vendor.js
https://github.com/web-platform-tests/wpt/blob/master/tools/wptrunner/wptrunner/testdriver-extra.js
I guess when running WebKit tests using WebDriver, we have to change the executor to support the new commands (see https://github.com/web-platform-tests/wpt/blob/master/docs/_writing-tests/testdriver-tutorial.md#other-browsers )
When running run-webkit-tests, I think we can just modify testdriver-vendor.js to implement click and key events. For example, on some WebKit ports this is possible via testRunner.runUIScript (see e.g. tapAt or keyDown in LayoutTests/resources/ui-helper.js).
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20180626/35a51ca1/attachment.html>
More information about the webkit-unassigned
mailing list