Skip to content

feat(expect): support expect.soft.poll chain#40848

Merged
pavelfeldman merged 1 commit into
microsoft:mainfrom
pavelfeldman:fix-20773
May 15, 2026
Merged

feat(expect): support expect.soft.poll chain#40848
pavelfeldman merged 1 commit into
microsoft:mainfrom
pavelfeldman:fix-20773

Conversation

@pavelfeldman
Copy link
Copy Markdown
Member

Summary

  • expect.soft.poll(...) now works as a shorthand for expect.configure({ soft: true }).poll(...). expect.soft is now a fully chainable Expect instance, so .poll, .configure, .extend, etc. all work after .soft.

Fixes #20773

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions
Copy link
Copy Markdown
Contributor

Test results for "MCP"

7086 passed, 1104 skipped


Merge workflow run.

@github-actions
Copy link
Copy Markdown
Contributor

Test results for "tests 1"

3 flaky ⚠️ [chromium-library] › library/popup.spec.ts:261 › should not throw when click closes popup `@chromium-ubuntu-22.04-arm-node20`
⚠️ [chromium-library] › library/video.spec.ts:647 › screencast › should capture full viewport `@chromium-ubuntu-22.04-node24`
⚠️ [chromium-library] › library/popup.spec.ts:261 › should not throw when click closes popup `@chromium-ubuntu-22.04-node22`

41877 passed, 850 skipped


Merge workflow run.

@pavelfeldman pavelfeldman merged commit daa2146 into microsoft:main May 15, 2026
45 checks passed
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.

[Feature] expect.poll to be soft

2 participants