For the complete documentation index, see llms.txt. This page is also available as Markdown.

Sharded runs

Re-run only failed tests when using native Playwright sharding

Native Playwright sharding runs tests in parallel across a fixed set of jobs. On retry, each job should run only the tests that failed in the previous execution. The guides below show how to wire --last-failed into GitHub Actions, GitLab CI, and Jenkins—using the playwright-last-failed helper where needed.

Step-by-step guides:

Last updated

Was this helpful?