promote-acceptance-test
Installation
SKILL.md
Promote Acceptance Test
Move a completed acceptance test from tests/acceptance/ to tests/regression/ or tests/smoke/.
Workflow
- Locate the acceptance test — search
e2e/tests/acceptance/for the ticket key or file path - Determine the target suite — regression (default) or smoke (if user specifies)
- Check for an existing spec in the target directory for the same feature
- If one exists, merge the tests into the existing
test.describeblock - If not, create a new spec file
- If one exists, merge the tests into the existing
- Apply the promotion changes (see checklist below)
- Delete the original acceptance spec from
tests/acceptance/ - Run the test in its new location:
npx playwright test --project="chromium:regression" {feature}.spec.ts
Related skills