feat(trace): add action screenshot and aria snapshot events - #42167
Conversation
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
| const actionTitle = renderTitleForCall(metadata); | ||
| const utility = await page.mainFrame().utilityContext(); | ||
| const actionTitle = renderTitleForCall(progress.metadata); | ||
| const utility = await progress.race(page.mainFrame().utilityContext()); |
There was a problem hiding this comment.
what's the point in replacing one progress.race at the callsite with multiple inside the method?
There was a problem hiding this comment.
Our linter demands that every awaited call needs to either race with progress or accept progress as the first argument. Here we pass it as the first arguments => must race.
| traceSha1s: Set<string>, | ||
| recording: boolean; | ||
| callIds: Set<string>; | ||
| callProgresses: Map<string, Progress | undefined>; |
There was a problem hiding this comment.
I don't see any usages of the values, why do we store them in the map?
There was a problem hiding this comment.
No reason, I also wanted to make it a set. Done.
513262b to
eb99642
Compare
This comment has been minimized.
This comment has been minimized.
🔴 The failure is caused by this PRHi, I'm the Playwright bot and I took a look at the CI failures here.
DetailsCaused by this PR
Verification
The flaky entries in the reports (video/screencast, heap, page-event-request, ui-mode, locator-query, etc.) all passed on retry and don't touch the progress/timeout path, so there's nothing to triage there. Triaged by the Playwright bot. Triaged by the Playwright bot - agent run |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
🟡 Probably not this PR, but one failure I can't fully clearHi, I'm the Playwright bot and I took a look at the CI failures here. The latest run is clean on DetailsOverall: No failure is convincingly caused by this PR. All three are on a single MCP run ( Pre-existing flake / infra
Uncertain
Why not the PR
Triaged by the Playwright bot - agent run |
d6c0188 to
26dee18
Compare
Test results for "tests 1"7 flaky51035 passed, 1190 skipped Merge workflow run. |
Test results for "MCP"8063 passed, 1284 skipped Merge workflow run. |
No description provided.