promote-handover-test
Installation
SKILL.md
Promote Handover Test
Move a completed handover test from tests/handover/ to tests/regression/ or tests/smoke/.
Workflow
- Locate the handover test — search
e2e/tests/handover/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 handover spec from
tests/handover/ - Run the test in its new location:
npx playwright test --project="chromium:regression" {feature}.spec.ts