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
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
/**
|
||||
* 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
|
||||
}
|
||||
Reference in New Issue
Block a user