Skip to content

ENG-217: Add Playwright E2E testing skill#2

Open
nihal467 wants to merge 4 commits into
mainfrom
ENG-217/playwright-skill
Open

ENG-217: Add Playwright E2E testing skill#2
nihal467 wants to merge 4 commits into
mainfrom
ENG-217/playwright-skill

Conversation

@nihal467

Copy link
Copy Markdown
Member

Summary

Adds a Copilot Playwright skill at playwright/SKILL.md — a single reference for writing E2E tests in CARE.

Contents

  • When to use E2E vs unit/component tests
  • Setup, run, debug, and report commands
  • File organization (mirror routes, camelCase)
  • 18 critical rules (deterministic fixture IDs, authenticated storageState, no .skip(), no random selection from lists, faker for created data, etc.)
  • Form-testing checklist
  • Patterns: Radix portal combobox, cascading combobox guard, Promise.all listener-before-action ordering, API setup via beforeEach with fail-fast, multi-role tests with try/finally context cleanup, file uploads with real fixtures, delete with double-confirm

Companion PR

Originally proposed in care_fe via ohcnetwork/care_fe#16480. Relocating to this central skills repo.

Closes

ENG-217

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants