Skip to content

Add retry logic for GitHub Actions #599

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

Closed
wants to merge 13 commits into from
4 changes: 2 additions & 2 deletions test/e2e/onLCP-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -266,8 +266,8 @@ describe('onLCP()', async function () {
readyState: 'complete',
});

// Wait for a frame to be painted.
await browser.executeAsync((done) => requestAnimationFrame(done));
// Wait a bit to ensurethe library it loaded as this test is flakey.
await browser.pause(1000);

await stubVisibilityChange('hidden');
await stubVisibilityChange('visible');
Expand Down