-
-
Notifications
You must be signed in to change notification settings - Fork 1.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
Puppeteer tests are flaky on CI #2843
Comments
Any ideas? |
Maybe we can use docker to run test, better than local puppeteer to run |
Can we migrate to https://github.com/microsoft/playwright? |
Maybe it is not bad idea to try |
I've used Selenium in other projects and had a not bad experience. Its error rate is about one in two hundred.
I haven't tried playwright, but the low number of issues seems nice. |
playwright provides chromium, firefox, and webkit and we have some browser issues such as #2466 (comment). yes so it's better to try it. |
If somebody want to try it and help to migrate feel free to send a PR, I think it will be a good experience |
@alexander-akait How should we do this, migrate all test at once or one by one in separate PRs then remove puppeteer in last? |
I think we can do it in one PR, because API is almost same, we can encapsulate some helpers functions if it will make migration easy |
@snitin315 @alexander-akait hey, I'm an applicant for the gsoc-2024. I started a PR for this issue which has been label relevant to gsoc as well. could you let me know this can be considered as a patch or an early contribution which is required in the proposal? PR: https://github.com/webpack/webpack-dev-server/pull/5080/files |
@alexander-akait hey, will this issue still be a project for gsoc-2024? I could not find it listed in the document attached on the gsoc website. I had opened a PR a few weeks ago here. |
/cc @evenstensberg |
@mahdikhashan yes you could use this for a google project. We dont require you to use the ideas from the ideas list. This project is as good as any from the ideas document. |
@alexander-akait would it be possible to share the invite link to Discord? |
joined, also shared my draft proposal both on twitter and discord. |
i think we should ensure Puppeteer and Chromium setup is correct, webpack-dev-server is running, handle any connection issues, and check for premature browser closures during navigation in test scripts. |
The text was updated successfully, but these errors were encountered: