Quarantine Tests
quarantine_testsQuarantine up to 100 tests until a set end date so their failures stop failing the build while tests still run and are reported; include a reason and optionally preview with dry run.
Instructions
Call this only when the user asks for it. Quarantine 1 to 100 tests: until the end date, their failures stop failing the build (they still run and are reported). reason is required and becomes the quarantine note. ends_in_days defaults to the project's default length. assignee defaults to the test's assignee for one test, else to you; the assignee also starts watching the test and is notified when it changes state. only_this_error (one test only) takes an error line and covers only failures with that error; other failures still fail the build. Pass the error of the test's final attempt, the one the build is judged on. dry_run: true creates nothing and reports what would be quarantined, what would be skipped and why, and the quarantine limit — use it before a large quarantine. It does not check only_this_error or that the assignee is a project member; the real call does. Several tests are all-or-nothing against the limit; already quarantined tests are skipped. A quarantine cannot be deleted, only released.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | Yes | Why these tests are quarantined | |
| dry_run | No | ||
| assignee | No | "me", a user id or a teammate's email | |
| projectId | Yes | Project ID (e.g. project_<id>) | |
| ends_in_days | No | ||
| testcase_ids | Yes | Playwright pw_test_ids, as list_testcase returns them | |
| only_this_error | No | The error line to cover, from the test's final attempt; one test only |