generate_test_template
Create a Playwright E2E test template for any feature to enforce mandatory testing before merge. Choose between frontend, API, or both test types.
Instructions
Generates a Playwright E2E test template for a feature. Every feature MUST have tests before merge.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | Type of test to generate: frontend (UI), api (backend), or both | |
| base_url | No | Base URL for tests. Default is http://localhost:3000 | http://localhost:3000 |
| feature_name | Yes | Name of the feature (e.g., "user-authentication", "dark-mode-toggle") | |
| worktree_path | No | Path to the worktree or project directory. Defaults to current directory. |