Skip to content

test: fix flaky dialog tests by awaiting evaluate promises#2284

Merged
zyzyzyryxy merged 1 commit into
mainfrom
zyzyzyryxy/fix-flaky-test
Jul 2, 2026
Merged

test: fix flaky dialog tests by awaiting evaluate promises#2284
zyzyzyryxy merged 1 commit into
mainfrom
zyzyzyryxy/fix-flaky-test

Conversation

@zyzyzyryxy

Copy link
Copy Markdown
Contributor

Fixes flakiness in pages.test.ts where unawaited page.evaluate() promises triggering dialogs would resolve after the test ended, causing TargetCloseError when the next test closed the pages.

TAG=agy
CONV=dc6c530f-5d71-4a91-9440-6a7006d168e6

Fixes flakiness in pages.test.ts where unawaited page.evaluate()
promises triggering dialogs would resolve after the test ended,
causing TargetCloseError when the next test closed the pages.

TAG=agy
CONV=dc6c530f-5d71-4a91-9440-6a7006d168e6
@zyzyzyryxy zyzyzyryxy added this pull request to the merge queue Jul 2, 2026
Merged via the queue into main with commit a38ef5e Jul 2, 2026
22 checks passed
@zyzyzyryxy zyzyzyryxy deleted the zyzyzyryxy/fix-flaky-test branch July 2, 2026 16:01
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