fix(e2e): auth helper — bypass CORS via server-side API call + inject localStorage

This commit is contained in:
root
2026-03-26 07:37:52 +00:00
parent 8b0a1ec3a7
commit ce179ac799
3 changed files with 51 additions and 49 deletions

View File

@@ -2,7 +2,8 @@ import { defineConfig, devices } from '@playwright/test';
export default defineConfig({
testDir: './e2e',
fullyParallel: false, // run serially — shared demo tenant
timeout: 60000, // 60s per test — accounts for ~2s API latency via CF tunnel
fullyParallel: false,
forbidOnly: !!process.env.CI,
retries: 1,
workers: 1,