Skip to content

chore(expect): preserve _expect call shape - #41790

Merged
Simon Knott (Skn0tt) merged 1 commit into
microsoft:mainfrom
Skn0tt:skn0tt-protocol-timeout-follow-up
Jul 15, 2026
Merged

chore(expect): preserve _expect call shape#41790
Simon Knott (Skn0tt) merged 1 commit into
microsoft:mainfrom
Skn0tt:skn0tt-protocol-timeout-follow-up

Conversation

@Skn0tt

Copy link
Copy Markdown
Contributor

This PR follows up on Dima’s review comment by keeping signal and timeout together in _expect’s existing options object.

Although _expect isn’t documented, external matcher integrations rely on its two-argument shape:

Keeping _expect(expression, options) avoids breaking those integrations while still keeping timeout and signal out of protocol params.

Keep signal and timeout together in the existing options argument so external matcher integrations retain the two-argument _expect shape.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 0fa14695-93a6-4bf6-b4d9-76499a0f91cf
@github-actions

Copy link
Copy Markdown
Contributor

Test results for "MCP"

1 failed
❌ [chrome] › mcp/cli-navigation.spec.ts:56 › goto chrome:// page that closes the tab does not crash the response @mcp-windows-latest-chrome

7759 passed, 1249 skipped


Merge workflow run.

@github-actions

Copy link
Copy Markdown
Contributor

Test results for "tests 1"

5 flaky⚠️ [chromium-library] › library/video.spec.ts:294 › screencast › should capture navigation `@chromium-ubuntu-22.04-arm-node20`
⚠️ [chromium-library] › library/video.spec.ts:664 › screencast › should capture full viewport `@realtime-time-library-chromium-linux`
⚠️ [firefox-library] › library/heap.spec.ts:223 › should not leak workers `@firefox-ubuntu-22.04-node20`
⚠️ [playwright-test] › ui-mode-test-progress.spec.ts:117 › should preserve action list selection upon live trace update `@windows-latest-node22`
⚠️ [playwright-test] › ui-mode-trace.spec.ts:827 › should update state on subsequent run `@windows-latest-node22`

49676 passed, 1156 skipped


Merge workflow run.

@Skn0tt
Simon Knott (Skn0tt) merged commit b6e3e37 into microsoft:mainJul 15, 2026
47 of 48 checks passed
Sign up for freeto 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

@Skn0tt@dgozman