Generate Playwright regression test
generate_regression_testGenerates a reviewable Playwright TypeScript regression test from a completed investigation, asserting the reported UI symptom's observable behavior with assumptions listed.
Instructions
Generates a Playwright test (TypeScript) from the investigation that asserts the observable behaviour behind the reported symptom. The code is returned for review and is never executed by the server. Assumptions are listed explicitly.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| testName | No | ||
| investigationId | Yes | Id returned by start_investigation |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | ||
| executed | Yes | Generated code is never executed by the investigator | |
| fileName | Yes | ||
| language | Yes | ||
| testName | Yes | ||
| framework | Yes | ||
| assertions | Yes | ||
| assumptions | Yes | ||
| reviewNotes | Yes | ||
| investigationId | Yes | ||
| reproductionStatus | Yes |