execute_playwright_test
Run local Playwright E2E test suites on generated components and capture terminal logs, pass/fail results, and error screenshots.
Instructions
Run local Playwright E2E test suites on generated components. Captures terminal logs, test pass/fail results, and error screenshots.
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": {
"testPath": "<testPath>"
},
"name": "execute_playwright_test"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| testPath | Yes | Path to test file or directory (relative to project root) | |
| headed | No | Run in headed mode for debugging (default: false) |