e2e-record
Installation
SKILL.md
E2E Test Recording & Refactoring
Workflow
- Launch codegen:
cd src/Frontend/e2e && npx playwright codegen http://localhost:4001 - Save raw recording to
src/Frontend/e2e/recordings/{feature-name}.spec.ts - Refactor into POM: Reuse existing page objects from
src/Frontend/e2e/page-objects/ - Add TC-ID: Annotate with
TC-{MOD}-{FEAT}-{NUM}: description @P{n} - Move to tests/: Place in correct folder
src/Frontend/e2e/tests/{module}/
Existing Page Objects
base.page.ts— Navigation, wait helpers, loading detectionapp.page.ts— Tab navigation, app-level operationstask-list.page.ts— Task list, filters, searchtask-detail.page.ts— Task form fields, validationtext-snippet.page.ts— Snippet CRUD operations
Recording Directory
Raw codegen outputs go to src/Frontend/e2e/recordings/ (gitignored).