-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
[Regression]: Tests fails in parallel run when click on dropdown options performed #30399
Labels
Comments
сс @aslushnikov |
Indeed I can easily repro! Turns out Juggler's focused page emulation is faulty and lets tabs to blur. The reproduction: import { firefox } from '@playwright/test';
const browser = await firefox.launch({
executablePath: process.env.FFPATH,
headless: false
});
async function run(id, page) {
console.log('start', id);
for (let i = 0; i < 10; i++) {
await page.locator('.multiselect__select').click();
await page.locator('li.multiselect__element').filter({ hasText: 'Option 3' }).click();
}
console.log('done', id);
}
const page1 = await browser.newPage();
await page1.goto('https://ilia-krivonosov.github.io/dropdown/');
const page2 = await browser.newPage();
await page2.goto('https://ilia-krivonosov.github.io/dropdown/');
await Promise.all([
run('page1', page1),
run('page2', page2),
]);
await browser.close(); |
aslushnikov
added a commit
to aslushnikov/playwright
that referenced
this issue
Apr 18, 2024
dgozman
pushed a commit
that referenced
this issue
Apr 18, 2024
dgozman
added a commit
that referenced
this issue
Apr 22, 2024
@dgozman Hello |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Last Good Version
1.30
First Bad Version
1.31 and above, up to 1.43
Steps to reproduce
Browser: Firefox
https://github.com/mikhail-shafigullin/pw-bug
from branchplaywright-43
npm install
->npx playwright install
npm run test:e2e:local
for local andnpm run test:e2e:ci
in Github ActionsExpected behavior
All runs are successful.
Actual behavior
Some runs have an error that they didn't find option button. Some runs have an error that they didn't find text in select after click on option.
Test Run: https://github.com/mikhail-shafigullin/pw-bug/actions/runs/8722579714
Additional context
This issue is a copy of issue on Playwright 1.41: #29096
My repository is a copy of the repository of topic starter from this issue.
Repository: https://github.com/mikhail-shafigullin/pw-bug
Environment
The text was updated successfully, but these errors were encountered: