Enforce Web Platform Test capabilities in CI - #632
Open
andrewiggins wants to merge 7 commits into
Open
Conversation
This was referenced Aug 21, 2026
andrewiggins
force-pushed
the
wpt-runner-interactive
branch
from
August 21, 2026 17:15
6f2ac7d to
c917a6b
Compare
andrewiggins
force-pushed
the
wpt-runner-capability-ci
branch
from
August 21, 2026 17:15
2a6bf5d to
3fe976a
Compare
andrewiggins
force-pushed
the
wpt-runner-interactive
branch
from
August 21, 2026 18:44
c917a6b to
9f8626f
Compare
andrewiggins
force-pushed
the
wpt-runner-capability-ci
branch
from
August 21, 2026 19:17
3fe976a to
6693983
Compare
This was referenced Aug 21, 2026
andrewiggins
marked this pull request as ready for review
August 21, 2026 23:26
andrewiggins
force-pushed
the
wpt-runner-interactive
branch
from
August 21, 2026 23:47
9f8626f to
91de48b
Compare
andrewiggins
force-pushed
the
wpt-runner-capability-ci
branch
from
August 21, 2026 23:55
c79bf55 to
7dadbe6
Compare
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR is 3 of 3 (#630, #631) that adds a Web Platform Test runner to this repo, so we can validate our polyfills spec compliance against that test suite.
This PR adds a CLI to run the webpage from the previous PR in playwright. It also adds a way to specify which tests in WPT are expected to pass/fail, and why (if failure). So overtime we can document behaviors we support, ones we don't support yet, and which ones we explicitly don't want to support.
Specifically, this PR:
Stacked dependency
This PR is stacked on
wpt-runner-interactive, which provides secure serving and isolated worker execution.Executable outcome
Run
pnpm test:wptto execute every classified path and enforce the complete capability table. Use explicit paths for exploratory execution and--capabilitiesto enforce selected classified paths.Validation
pnpm run lintpnpm run type-checkpnpm exec vitest runpnpm run test:wptChangeset
An empty changeset records that this private test infrastructure releases no public package.