Set Test Critical
set_test_criticalMark or unmark a test as critical to control if it fails the build when passing only on retry. Requires owner or admin permissions.
Instructions
Call this only when the user asks for it. Mark (critical: true) or unmark (critical: false) a test as critical. A critical test that passes only on retry fails the build; unmarking relaxes that. Owners and admins only. A quarantined test cannot be marked critical, and a project has at most 50 critical tests.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| critical | Yes | ||
| projectId | Yes | Project ID (e.g. project_<id>) | |
| testcase_id | Yes | Playwright pw_test_id of the test |