create-regression-test
Installation
SKILL.md
Create Regression / Smoke Test
Generate a complete test spec with associated test data and fixture integration.
Workflow
- Determine the feature name from the user's request
- Determine the suite — regression (default) or smoke
- Check if a POM exists in
e2e/poms/{feature}.page.ts- If yes, read its public methods and JSDoc to understand available actions
- If no, create one first using the
create-pomskill
- Check if test data exists in
e2e/test-data/{feature}.json- If yes, read and use the existing data shape
- If no, create the JSON file with template data
- Check fixtures in
e2e/fixtures/base.ts- If the feature is not yet registered, add the interface and loader
- Create the spec file in the appropriate directory
Related skills