Replaced webServer command in playwright.config.ts with a CI-conditional that builds a production bundle then serves via vite preview, eliminating per-request JIT compilation causing 30-60s page loads.
v111.4e2026-06-09
·playwright.config.ts: CI now runs npm run build && npx vite preview --port 1420
·Local dev path unchanged: npm run dev with reuseExistingServer
·env.PLAYWRIGHT=true is load-bearing: sets __PLAYWRIGHT__ build-time define → isTestEnv=true in bundle
·Investigation finding: window.PLAYWRIGHT=true is unconditional in main.tsx — all dev probes active in prod builds
·No CI YAML changes needed: generate:graph already precedes qa:e2e in existing YAML