Skip to content

chore: reduce dependencies from expect matchers to the rest#39781

Open
dgozman wants to merge 1 commit intomicrosoft:mainfrom
dgozman:expect-reduce-deps
Open

chore: reduce dependencies from expect matchers to the rest#39781
dgozman wants to merge 1 commit intomicrosoft:mainfrom
dgozman:expect-reduce-deps

Conversation

@dgozman
Copy link
Contributor

@dgozman dgozman commented Mar 20, 2026

No description provided.

@github-actions
Copy link
Contributor

Test results for "MCP"

1 failed
❌ [chromium] › mcp/screenshot.spec.ts:315 › browser_take_screenshot size cap @mcp-macos-latest

5493 passed, 343 skipped


Merge workflow run.

@github-actions
Copy link
Contributor

Test results for "tests 1"

2 flaky ⚠️ [chromium-library] › library/beforeunload.spec.ts:130 › should support dismissing the dialog multiple times `@chromium-ubuntu-22.04-arm-node20`
⚠️ [webkit-library] › library/video.spec.ts:358 › screencast › should capture navigation `@webkit-ubuntu-22.04-node20`

38819 passed, 845 skipped


Merge workflow run.


const result = await pollAgainstDeadline<Error|undefined>(async () => {
if (testInfo && currentTestInfo() !== testInfo)
if (config && expectConfig() !== config)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
if (config && expectConfig() !== config)
if (expectConfig() !== config)

const { deadline, timeoutMessage } = config.testInfo ? config.testInfo._deadlineForMatcher(timeout) : defaultDeadlineForMatcher(timeout);
const result = await pollAgainstDeadline<Error|undefined>(async () => {
if (testInfo && currentTestInfo() !== testInfo)
if (config && expectConfig() !== config)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
if (config && expectConfig() !== config)
if (expectConfig() !== config)

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