Link Automated Test
link_automated_testLink one Playwright automated test to one manual test case so its automation results appear on that case. Requires write permission, automation_linking, and valid IDs from list_automated_tests.
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.
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 |