-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Playwright: run tests headlessly, take 2. #56712
Conversation
This PR does not affect the size of JS and CSS bundles shipped to the user's browser. Generated by performance advisor bot at iscalypsofastyet.com. |
Link to Calypso live: https://calypso.live?image=registry.a8c.com/calypso/app:build-15935 |
Re-add xvfb-run.
d9e07af
to
6924297
Compare
Interesting, so dropping |
Yes, it appears that dropping The documentation states that [1] The question was about Electron + headless but I suspect it also applies to browsers. |
That's really strange. Maybe you could add a comment in the build plan explaining why we require |
I plan on exploring a bit more in this PR. I keep getting conflicting results in my research. I've even expanded my search to just generic Chrome headless and Puppeteer, but still getting mixed results. |
OK, so I dropped 😕 |
Ran every Playwright e2e task with This PR is now ready for final review. |
Changes proposed in this Pull Request
(Copied over from original PR #56475)
This PR proposes to run Playwright tests headlessly.
By some accounts, Playwright runs faster in headless mode GitHub.
Anecdotally, running a selection of test specs locally with both headful and headless modes show some difference:
Headless:
Headful:
Testing instructions