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

[BUG] worker test is flaky on firefox #1300

Closed
aslushnikov opened this issue Mar 9, 2020 · 1 comment · Fixed by #1322
Closed

[BUG] worker test is flaky on firefox #1300

aslushnikov opened this issue Mar 9, 2020 · 1 comment · Fixed by #1322
Assignees

Comments

@aslushnikov
Copy link
Collaborator

Flaked run: https://github.com/microsoft/playwright/pull/1297/checks?check_run_id=496348690

Test:

it('Page.workers', async function({page, server}) {
await Promise.all([
page.waitForEvent('worker'),
page.goto(server.PREFIX + '/worker/worker.html')]);
const worker = page.workers()[0];
expect(worker.url()).toContain('worker.js');
expect(await worker.evaluate(() => self['workerFunction']())).toBe('worker function result');
await page.goto(server.EMPTY_PAGE);
expect(page.workers().length).toBe(0);
});

@aslushnikov aslushnikov self-assigned this Mar 9, 2020
@aslushnikov
Copy link
Collaborator Author

Another test is flaky on Firefox seemengly for the same reason:

https://github.com/microsoft/playwright/pull/1277/checks?check_run_id=496461538

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 a pull request may close this issue.

1 participant