Link Automated Test
link_automated_testLinks one Playwright automated test to a manual test case so automation results appear on that case. Get pwTestId and fullTitle from list_automated_tests first.
Instructions
Link one automated (Playwright) test to one manual test case so automation results surface on the case. Requires write permission and the automation_linking plan feature (403 otherwise). Get pwTestId + fullTitle from list_automated_tests (or list_testcase, whose pw_test_id matches pwTestId — but fullTitle must still come from list_automated_tests). Rejects with 400 when the identity is unknown to this project, the pwTestId is already linked to the case, or the case already has 50 links. Linking sets the case automationStatus to Automated. For many cases in one call use bulk_link_automated_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>",
"caseId": "<caseId>",
"pwTestId": "<pwTestId>",
"fullTitle": "<fullTitle>"
},
"name": "link_automated_test"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| caseId | Yes | Manual case: internal _id or "TC-123" style ID | |
| pwTestId | Yes | Stable Playwright test id (pw_test_id) | |
| fullTitle | Yes | Server join key from list_automated_tests — never hand-built | |
| projectId | Yes | Project ID | |
| displayTitle | No | Optional label shown on the case; defaults to the test title |