chore: introduce _TestInfoEx interface for builtin fixtures - #42352
chore: introduce _TestInfoEx interface for builtin fixtures#42352Dmitry Gozman (dgozman) wants to merge 2 commits into
Conversation
Builtin fixtures in index.ts now depend on the _TestInfoEx interface instead of TestInfoImpl: - trace-related methods are exposed directly on the interface; - per-test callbacks are grouped under _callbacks; - trace recording names/paths and page snapshot dedupe moved into ArtifactsRecorder.
Test results for "MCP"4 failed 8138 passed, 1361 skipped Merge workflow run. |
Test results for "tests 1"1 flaky51283 passed, 1238 skipped Merge workflow run. |
|
Hi, I'm the Playwright bot and I took a first look at the failing CI. 🟢 All four failures are pre-existing flakes — the PR is clearEvery failure is in DetailsOverall: No failure reaches the changed code. The PR reworks builtin fixtures and artifact/trace recording in Pre-existing flake / infra All four are the same annotate story, flaky across the aggregated test-results DB (final verdict flips between runs, and retries rescue them within a run), failing on SHAs unrelated to this PR:
Triaged by the Playwright bot - agent run |
Pavel Feldman (pavelfeldman)
left a comment
There was a problem hiding this comment.
Same here, need context!
Summary
index.tsnow depend on the new_TestInfoExinterface instead ofTestInfoImpl._callbacks.ArtifactsRecorder;SnapshotRecorderis inlined into it.