e2e-testing

Installation
SKILL.md

E2E Testing

Playwright Test against the real application — real server, real browser, real data.

Conventions

  • Tests live in e2e/ at the project root, NOT co-located with source
  • Authenticated tests: e2e/flow-name.spec.ts — run with saved session automatically
  • Unauthenticated tests: e2e/flow-name.unauth.spec.ts — fresh browser, no session
  • Run with bun run e2e
  • Test data lives in e2e/seeds/ as JSON files
  • Import test from ./utils (shared fixture), expect from @playwright/test
import { expect } from "@playwright/test";
import { test } from "./utils";

The shared test fixture waits for [data-hydrated] after every page.goto() — buttons and handlers are ready immediately.

Related skills
Installs
5
GitHub Stars
4
First Seen
Mar 6, 2026