run_e2e_tests
Run Playwright end-to-end tests to ensure code passes before merging. Supports retries and custom test paths for focused test runs.
Instructions
Runs E2E tests with Playwright. Tests MUST pass before merge. Supports retries and custom test paths.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| headed | No | Run tests in headed mode for debugging. Default is false. | |
| project | No | Playwright project to run (e.g., "chromium", "firefox") | |
| retries | No | Number of retries on failure. Default is 2. | |
| test_path | No | Specific test file or pattern to run (e.g., "tests/e2e/login.spec.ts") | |
| worktree_path | No | Path to the worktree or project directory. Defaults to current directory. |