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 test flakiness caused by Puppeteer state management #1361

Merged
merged 1 commit into from
Jun 4, 2024

Conversation

powerivq
Copy link
Collaborator

@powerivq powerivq commented May 29, 2024

This PR fixes occasional test failures caused by Puppeteer page not properly closed before the next test runs. We fix it by awaiting page.close() (old logic is having it in try/finally). In the event of test failure, not closing would not be critical anyways, and calling close would not help much.

@powerivq powerivq force-pushed the fix-security branch 6 times, most recently from bb365de to 2179829 Compare May 29, 2024 06:07
@powerivq powerivq changed the title WIP Upgrade dependencies for security issues Fix test flakiness caused by Puppeteer state management May 29, 2024
@powerivq powerivq force-pushed the fix-security branch 13 times, most recently from 7a757fd to 49d09ca Compare May 30, 2024 03:54
@erwinmombay erwinmombay merged commit 40e9ed7 into main Jun 4, 2024
13 checks passed
@erwinmombay erwinmombay deleted the fix-security branch June 4, 2024 17:26
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