Flaky Playwright Tests: Find the Cause, Fix It, Prove It's Fixed
A field guide to flaky Playwright tests, organised by the error you are staring at, with a loop that proves the fix holds.
Tag
Articles tagged CI.
A field guide to flaky Playwright tests, organised by the error you are staring at, with a loop that proves the fix holds.
Workers, fullyParallel and shards are three different knobs. When to use each, with complete GitHub Actions and GitLab CI configs.
Set up traces in CI, get them out of a failed job, and read them in five steps to find the real cause of a failure.
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.
How retries work in Playwright, what 'flaky' in the report means, and a policy that keeps retries honest.
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.