Re-run Only Failed Tests
How to set up failed test re-runs on GitHub Actions
When a workflow fails in GitHub Actions, the failed jobs can be re-run. However, Playwright needs extra setup to re-run only the failed tests.
For GitHub Actions, Currents provides the Last Failed GitHub Action to simplify re-runs with Playwright sharding or Currents Orchestration.
Select the guide that matches your setup:
Sharded runs - fixed shard count and native Playwright
--shardparallelismOrchestrated runs -
pwc-p discoverandpwc-p runCustom CI Build ID for Re-runs - for sharded or orchestrated runs with a non-default CI build ID
Last updated
Was this helpful?