Open ylemkimon opened 3 years ago
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 playwright
Maybe we can use docker to run test, better than local puppeteer to run
I've used Selenium in other projects and had a not bad experience. Its error rate is about one in two hundred.
Can we migrate to https://github.com/microsoft/playwright?
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 https://github.com/webpack/webpack-dev-server/issues/2466#issuecomment-706117588. 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
/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.