setup-e2e-testing

Installation
SKILL.md

E2E Testing

Conventions

  • e2e/*.spec.ts -- all e2e tests use .spec.ts
  • Name by feature: login.spec.ts, create-topic.spec.ts
  • Selectors: getByRole > getByLabel > getByText > getByTestId > CSS
  • Test IDs: {feature}-{element}, {feature}-{element}-{index}, {feature}-{state}

Edit-time Hooks

  • route sibling test: when a route or *.page.tsx changes, run sibling *.browser.test.* or *.integration.test.*; block if it fails.
  • structural refactor test nudge: new *.page.tsx or split component file needs accompanying .test, .integration.test, or .browser.test.

Accessibility -- axe on every page

Installs
9
GitHub Stars
3
First Seen
Mar 31, 2026
setup-e2e-testing — malinskibeniamin/skills