-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
test(integration-tests): Unflake some tests #7076
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
Conversation
backgroundtab-pageload|
Gonna re-run this a bunch of times to see if it worked |
|
I'll make a flaky test issue! Edit: #7079 |
| await page.click('#go-background'); | ||
|
|
||
| const pageloadTransaction = await pageloadTransactionPromise; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we just Promise.all (kicking off the page click first?)?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That is inherently gonna produce the race condition again that I want to remove with this change. Listen first -> then the interaction -> wait for interaction outcome. Mixing step 1 and 2 is dangerous.
Lms24
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Desperately need this, thanks 🙏


Dunno if the changes to the backgroundtab changes actually do something but Id say it is worth a try.