Quarantine
Mark a flaky test as quarantined so its failures no longer determine run outcomes, while results are still recorded and visible.
Quarantine is a test status for tests you don't trust yet. A quarantined test still runs, and its real pass or fail result is recorded, but its failures never decide the outcome of a run. Use it to keep a flaky test from blocking a release while you fix it.
What Quarantine Does
- The test runs in every run type: single, bulk, directory, tag, and scheduled.
- Its failures do not fail the run, including failures after retries. A run with quarantined and other tests passes or fails on the other tests only.
- A run that contains only quarantined tests ends as Quarantined, a neutral outcome.
- Infrastructure failures still fail the run: a crash, a timeout, or a runner error that cannot be tied to a test.
- Quarantined tests are left out of pass rate, Failing Tests, and Needs Attention on the dashboard.
Archived tests are different: they are not executed at all. See Schedules.
Quarantine a Test
- Open the test.
- Click Quarantine in the page header.
- Enter a Reason (required, up to 500 characters).
- Choose the branch scope: only the current branch, or all branches of the project.
- Confirm.
Only active tests can be quarantined. Folders cannot be quarantined.
The page then shows a banner with who quarantined the test, when, the reason, and the branches. To undo it, click Unquarantine in the header. The reason is optional when you unquarantine. If the test is quarantined on several branches, choose which ones to release.
Status is stored per branch, so a test can be quarantined on one branch and active on another. The test list shows where else it is quarantined.
Quarantine Many Tests
In the Tests list, select tests, then open Change Status and pick Quarantined to quarantine them, or another status to unquarantine them. The confirm button reads Quarantine or Unquarantine. The same reason and branch scope choices apply. Quarantine needs a reason for the whole selection.
Where It Shows
| Place | What you see |
|---|---|
| Test list | A Quarantined status badge and a status filter |
| Test runs list and run detail | A Quarantined run outcome, and per-test labels such as Quarantined · Failed or Quarantined · Passed. A run with muted failures shows "1 failure muted". The Test Runs list can include, exclude, or show only quarantined tests |
| Run with nothing executed | "No tests executed" when every selected test is archived |
| Interrupted runs | Quarantined tests that were running when the runner crashed show Interrupted |
| Email and webhook | The same outcome and counts. A quarantined-only run sends the run.completed webhook with status quarantined |
| Dashboard | A Quarantined card and the Saved by quarantine section. See Dashboard |
| Test page | A banner, the pass count since quarantine, and a hint to unquarantine after the test passed its last 5 runs |
| Audit log | quarantine and unquarantine events with the reason and branches |
Unquarantine Hint
When a quarantined test passes its last 5 runs, the dashboard card and the test page suggest unquarantining it. This is a hint only. Nothing changes automatically.
Audit Log
Each change is recorded in the audit log: who changed it (a user or an API key), the test, the reason, and the branches. Filter the audit log to quarantine events to see the history.
API and Agents
Quarantine is available through the Tests API and the MCP tools. A reason is required whenever the resulting status is quarantined.
Next Steps
View Test Results
View all test runs for a project, monitor live status updates, and inspect per-step results, failure screenshots, and artifacts in the run detail page.
Screenshot Comparison
Compare each Playwright step screenshot against its baseline side by side and promote the run image to a new baseline.