kammer/e2e/playwright.config.ts
Christopher Mühl ba68fb456a test: E2E test suite + handoff documentation
50 Playwright E2E tests across 13 spec files covering all routes and
user flows (items CRUD, check-out/in, locations, labels, scanning,
search/filter). Uses vitest as runner with playwright-core for browser
automation (bun-compatible alternative to @playwright/test).

Includes Gherkin .feature files as living documentation, test support
infrastructure (IDB seeding, item factories, assertion helpers, layout
measurement), and HANDOFF.md covering project state, deployment, and
open design decisions.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-26 20:53:08 +01:00

15 lines
433 B
TypeScript

/**
* E2E test configuration.
* Tests use vitest as runner + playwright-core for browser automation.
* Run with: bun run test:e2e
*/
export const e2eConfig = {
baseURL: 'http://localhost:4173',
viewport: { width: 390, height: 844 },
colorScheme: 'dark' as const,
screenshotDir: 'e2e/screenshots',
projects: {
'mobile-chrome': { width: 412, height: 915 },
'desktop-chrome': { width: 1280, height: 720 },
},
};