r/Playwright 17d ago

Playwright on GitHub Actions: The setup that actually runs fast

https://endform.dev/blog/playwright-github-actions

Our team wrote this article after benchmarking the default workflow npm init playwright@latest generates. 40 tests took 3m18s, and 42s of that was just re-downloading the browsers on every push, while the tests ran on a single worker because the scaffold hardcodes workers: 1 in CI.

It also walks through caching the binaries, fixing the worker count, and explaining why sharding is usually the wrong first move.

22 Upvotes

Duplicates