Playwright Sharding: Split Your Suite Across CI Machines
Workers, fullyParallel and shards are three different knobs. When to use each, with complete GitHub Actions and GitLab CI configs.
Category
Running browser tests in CI: sharding, GitHub Actions and GitLab pipelines, environment variables, secrets and reports.
Workers, fullyParallel and shards are three different knobs. When to use each, with complete GitHub Actions and GitLab CI configs.
One config for local, staging and production runs, with secrets that never land in the repo or the test file.
A complete .gitlab-ci.yml for Playwright, with the image, caching, test reports and sharding explained line by line.
What each built-in Playwright reporter is for, how to combine them, and a short custom reporter that posts a run summary where you need it.