Set Test Critical
set_test_criticalMark or unmark a Playwright test as critical so a critical test that passes only on retry fails the build; unmarking relaxes that rule. Owners and admins only.
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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"projectId": "<projectId>",
"testcase_id": "<testcase_id>",
"critical": "<critical>"
},
"name": "set_test_critical"
}
}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 |