Repository navigation
fix(evaluate): await page-overridden Promise in evaluateHandle and waitForFunction - #43436
Conversation
This comment has been minimized.
This comment has been minimized.
Test results for "MCP"2 failed 5152 passed, 614 skipped Merge workflow run. |
Test results for "tests 1"3 flaky23553 passed, 710 skipped Merge workflow run. |
|
Hi, I'm the Playwright bot and I took a first look at the CI failures. 🟢 Both failures are confirmed pre-existing flakesAt PR head DetailsOverall assessment This PR changes thenable handling in Pre-existing flakes
Triaged by the Playwright bot - agent run |
10bf92f
into
microsoft:main
Summary
UtilityScript.evaluatereturned the page's thenable as is. Firefox and WebKit only await native promises, so a zone.js-stylePromisewrapper came back unresolved fromevaluateHandleand madewaitForFunctionresolve right away.Fixes #43415