| name | generate-cucumber-e2e-test |
|---|---|
| description | Generate project-specific Cucumber e2e tests from a natural-language user request |
| argument-hint | Describe the user flow or acceptance criteria to test |
| agent | agent |
Generate Cucumber-based e2e tests for this repository from the user input.
- Turn the user request into one or more Gherkin scenarios.
- Implement matching step definitions with Cypress in TypeScript.
- Reuse the existing project test style and folder layout.
- The text after invoking this prompt is the acceptance criteria.
- If requirements are ambiguous, ask up to 3 concise clarifying questions before changing files.
- Inspect existing Cucumber/Cypress patterns in the project.
- Create or update
.featurefile(s) in the project. - Create or update matching step definition
.tsfile(s). - Prefer deterministic selectors and avoid brittle text-only selectors where possible.
- Keep scenarios independent, realistic, and easy to read.
- Include setup in
Givensteps when data/state preconditions are required. - Run the most relevant e2e test command if available; if not runnable, explain why and provide the exact command.
- What changed (short summary)
- File-by-file changes
- New scenarios added
- Validation status (tests run or reason not run)