e2e-record

E2E Test Recording & Refactoring

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "e2e-record" with this command: npx skills add duc01226/easyplatform/duc01226-easyplatform-e2e-record

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 detection

  • app.page.ts — Tab navigation, app-level operations

  • task-list.page.ts — Task list, filters, search

  • task-detail.page.ts — Task form fields, validation

  • text-snippet.page.ts — Snippet CRUD operations

Recording Directory

Raw codegen outputs go to src/Frontend/e2e/recordings/ (gitignored).

Test Conventions

  • Use test.describe('TC-XXX: Feature', () => { ... }) for grouping

  • Use test('TC-XXX: description @P1', ...) for individual tests

  • Use page.getByTestId() or page.getByRole() for selectors

  • Follow existing patterns in src/Frontend/e2e/tests/

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

pdf-to-markdown

No summary provided by upstream source.

Repository SourceNeeds Review
General

markdown-to-docx

No summary provided by upstream source.

Repository SourceNeeds Review
General

docx-to-markdown

No summary provided by upstream source.

Repository SourceNeeds Review