Skip to content

feat(expect): support screenshot abort signals#41792

Merged
Skn0tt merged 1 commit into
microsoft:mainfrom
Skn0tt:skn0tt-screenshot-assertion-cancellation
Jul 15, 2026
Merged

feat(expect): support screenshot abort signals#41792
Skn0tt merged 1 commit into
microsoft:mainfrom
Skn0tt:skn0tt-screenshot-assertion-cancellation

Conversation

@Skn0tt

@Skn0tt Skn0tt commented Jul 15, 2026

Copy link
Copy Markdown
Member

This PR adds AbortSignal support to page and locator screenshot assertions.

Already-aborted signals fail immediately. Signals aborted during screenshot comparison stop the assertion while keeping the usual screenshot diagnostics and call log.

Follow-up to #41712.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 1017f695-ff72-4446-aa84-97d02128dd53
@Skn0tt Skn0tt requested a review from dgozman July 15, 2026 09:32
@Skn0tt Skn0tt merged commit 496baf3 into microsoft:main Jul 15, 2026
46 checks passed
@github-actions

Copy link
Copy Markdown
Contributor

Test results for "MCP"

7760 passed, 1249 skipped


Merge workflow run.

@github-actions

Copy link
Copy Markdown
Contributor

Test results for "tests 1"

3 flaky ⚠️ [chromium-library] › library/chromium/chromium.spec.ts:211 › should intercept service worker requests (main and within) `@chromium-ubuntu-22.04-arm-node20`
⚠️ [chromium-library] › library/browsercontext-page-event.spec.ts:173 › should work with Ctrl-clicking `@realtime-time-library-chromium-linux`
⚠️ [chromium-library] › library/video.spec.ts:664 › screencast › should capture full viewport `@realtime-time-library-chromium-linux`

49690 passed, 1156 skipped


Merge workflow run.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants