Uh oh!
There was an error while loading. Please reload this page.
chore(expect): pass expect title explicitly to library calls - #42250
Conversation
Matchers now pass their step title to locator._expect and friends, instead of the test runner plumbing apiName/title into the api call through the instrumentation listener. The apiName is inferred from the stack, falling back to the explicit title for internal methods like locator._expect. The test runner instrumentation matches api calls by channel type/method instead of the apiName.
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.
Hi, I'm the Playwright bot and I took a look at the CI failures here. 🔴 One failure looks caused by this PR
DetailsCaused by this PR
Pre-existing flake / infra
Triaged by the Playwright bot - agent run |
Test results for "MCP"1 failed 8100 passed, 1311 skipped Merge workflow run. |
Test results for "tests 1"4 flaky51121 passed, 1208 skipped Merge workflow run. |
Hi, I'm the Playwright bot and I took a look at the CI failures here. 🔴 One failure looks caused by this PR
DetailsAcross the three CI reports on this PR, one failure is caused by the change and the rest are known flakes. Caused by this PR
Pre-existing flake / infra
None of the MCP screencast, annotation or mouse-wheel paths are touched by the matcher-title change, and the 5 tests marked flaky in "tests 1" all passed on retry within the run. Triaged by the Playwright bot - agent run |
e4a6eeb
into
microsoft:mainUh oh!
There was an error while loading. Please reload this page.
Summary
locator._expect,frame._expectandpage._expectScreenshot, instead of the test runner plumbing apiName/title into the api call through the instrumentation listener.locator._expect.apiNameis removed fromApiCallData.