This directory shows how to rerun only the tests that failed in the previous CI run, saving time and resources.
| Workflow | Description |
|---|---|
rerun-shards-pwc.yml |
Rerun failed tests using pwc |
rerun-shards-reporter.yml |
Rerun failed tests using Reporter |
reruns-or8n.yml |
Rerun failed tests with Orchestration |
These workflows use the currents-dev/playwright-last-failed action.
- Identify Failures: The action fetches the list of failed tests from the previous run using Currents API.
- Generate Flags: It constructs the CLI flags (e.g.,
--grepor file list) to run only those tests. - Execute: The workflow runs Playwright with the generated flags.