Files
familysync/apps/pwa/e2e/global-setup.ts
T
Lucas Berger 44fea2c5e2 feat(07-01): add playwright.config.ts with two-profile device matrix
- Two projects: iphone/WebKit (iPhone 14) + pixel/Chromium (Pixel 7)
- serviceWorkers: 'block' on both profiles per D-02/Pitfall 15
- env-driven baseURL via PLAYWRIGHT_BASE_URL (D-08/Rule 8)
- globalSetup ref to e2e/global-setup.ts (Plan 02 implements)
- webServer manages vite only with reuseExistingServer (D-10)
- no storageState, no toHaveScreenshot per D-01/UI-SPEC Rule 6
- add e2e/global-setup.ts placeholder (stub) so config path resolves
2026-06-11 01:41:44 -04:00

16 lines
465 B
TypeScript

/**
* global-setup.ts — Phase 7 Plan 02 will implement this
*
* Placeholder to satisfy Playwright config path resolution.
* Plan 02 replaces this with:
* - health poll on baseURL/health (D-08 readiness gate)
* - mysql2 DB seed: TRUNCATE + INSERT onto calendar id=10 + lists for user 1 (D-05/D-06/D-07)
*
* Run:
* pnpm --filter @familysync/pwa test:e2e
*/
export default async function globalSetup(): Promise<void> {
// Implemented in Plan 02
}