Testing

Playwright e2e and CI recommendations.

End-to-end tests use Playwright. The suite is early-stage — expand coverage as features stabilize.

Playwright

bash
npm run test:e2e

Config: playwright.config.ts

E2E sign-in

A test-only route /api/e2e/sign-in creates sessions when E2E_TEST_SECRET is set. Never enable in production.

CI recommendation