Uh oh!
There was an error while loading. Please reload this page.
fix(test runner): match --test-list entries against the test file path - #42301
fix(test runner): match --test-list entries against the test file path#42301Yury Semikhatsky (yury-s) wants to merge 1 commit into
Conversation
Tests declared in a file imported by the test file could not be selected by any --test-list entry: matching only considered test.location.file, which points to the file where test() was called, while file-only entries and load-time file filtering use the test file path. Match entries against either the test file or the declaration file. Fixes: microsoft#42298
Test results for "tests 1"22 flaky51180 passed, 1233 skipped Merge workflow run. |
Test results for "MCP"4 failed 8106 passed, 1341 skipped Merge workflow run. |
Hi, I'm the Playwright bot and I took a first look at the CI failures here. 🟢 Failures are all pre-existing flakes — this PR is clearThe 4 failures are in the MCP suite; this PR only touches test-runner DetailsOverall: The "tests 1" report has no failures (22 flaky only). The "MCP" report has 4 failures, all in code this PR doesn't touch. Confirmed against the aggregated test-results DB. Pre-existing flake / infra
All four flip verdict on SHAs this PR can't be responsible for, so none is caused by the change. Triaged by the Playwright bot - agent run |
Summary
--test-listentry: matching only consideredtest.location.file, while file-only entries and load-time file filtering use the test file path.--listprints for such tests.Fixes#42298