Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[wptrunner] Decouple testdriver infrastructure from testharness #49044

Merged

Conversation

jonathan-j-lee
Copy link
Contributor

@jonathan-j-lee jonathan-j-lee commented Nov 7, 2024

Split off from #48486 in preparation for #13183. This PR itself should be a no-op, so it need not block on web-platform-tests/rfcs#211.

@jonathan-j-lee jonathan-j-lee force-pushed the wptrunner/testdriver-refactor branch from fcfd0c8 to 0f2c1f4 Compare November 7, 2024 23:40
@jonathan-j-lee jonathan-j-lee marked this pull request as ready for review November 8, 2024 00:38
@wpt-pr-bot wpt-pr-bot added infra wptrunner The automated test runner, commonly called through ./wpt run wptserve labels Nov 8, 2024
@jonathan-j-lee jonathan-j-lee force-pushed the wptrunner/testdriver-refactor branch from 8e59e23 to 8469799 Compare November 11, 2024 19:35
This no-op refactor will allow other WebDriver executors, not just the
testharness executor, to perform testdriver actions.
This will allow non-testharness tests to use `testdriver.js` without
needing extra scripts. Evaluating `message-queue.js` is idempotent so
that, when using testharness with testdriver, the second inclusion is a
no-op.

Because resource scripts are cached, the size increase should not
meaningfully affect test performance.
@jonathan-j-lee jonathan-j-lee force-pushed the wptrunner/testdriver-refactor branch from 8469799 to a2ce584 Compare December 10, 2024 18:41
@jonathan-j-lee jonathan-j-lee enabled auto-merge (rebase) December 10, 2024 19:05
@jonathan-j-lee
Copy link
Contributor Author

@KyleJu @DanielRyanSmith Force merge due to unrelated failure #49545? If possible, please use the rebase method, not squash, since each commit works standalone.

The changes in this PR are primarily covered by the infrastructure/ tests, which show no unexpected results for either Safari, which uses the WebDriver executor, or Firefox. I've also confirmed locally that Chrome runs all infrastructure/ tests expectedly.

@KyleJu KyleJu disabled auto-merge December 10, 2024 20:27
@KyleJu KyleJu merged commit e51161a into web-platform-tests:master Dec 10, 2024
31 of 33 checks passed
@jonathan-j-lee jonathan-j-lee deleted the wptrunner/testdriver-refactor branch December 10, 2024 20:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
infra wptrunner The automated test runner, commonly called through ./wpt run wptserve
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants