Repository Public
1import { defineConfig, devices } from '@playwright/test';23/**4 * Core flows against the REAL backend (apps/server + apps/runtime + tmux), started beforehand5 * with `scripts/dev-up.sh` from the repo root (serves apps/web/out on http://localhost:8620).6 * The export must be built with NEXT_PUBLIC_E2E=1 (terminal test hook). Needs a fresh dev7 * database (setupRequired) or the credentials file written by a previous run.8 */9export default defineConfig({10 testDir: './e2e-real',11 outputDir: './test-results-real',12 workers: 1,13 fullyParallel: false,14 timeout: 90_000,15 expect: { timeout: 15_000 },16 reporter: [['list']],17 use: { baseURL: process.env.REAL_URL ?? 'http://localhost:8620', trace: 'retain-on-failure', ...devices['Desktop Chrome'], viewport: { width: 1440, height: 900 } },18});19