Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: use loaderId to reduce test flakiness #8717

Merged
merged 1 commit into from Aug 1, 2022
Merged

fix: use loaderId to reduce test flakiness #8717

merged 1 commit into from Aug 1, 2022

Conversation

OrKoN
Copy link
Collaborator

@OrKoN OrKoN commented Aug 1, 2022

This PR restores the use of loaderId to determine which type of navigation to wait for when a page navigates using Page.goto. beforeunload handlers in a new document navigation may trigger a few same document navigations and, thus, loaderId is required to distinguish between same-document and new-document navigations.

@OrKoN OrKoN merged commit bec6f61 into main Aug 1, 2022
@OrKoN OrKoN deleted the fix-loaderId branch August 1, 2022 13:39
leonardo-fernandes added a commit to leonardo-fernandes/puppeteer-sharp that referenced this pull request Jun 14, 2023
kblok pushed a commit to hardkoded/puppeteer-sharp that referenced this pull request Jun 15, 2023
* Fix PageGotoTests' flakyness.

See puppeteer/puppeteer#8717

* Fix PageGotoTests.ShouldWorkWhenNavigatingTo404 when executed in headful mode.

See puppeteer/puppeteer#9577
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.

None yet

2 participants