/** * Playwright config for hand-written behavioral tests under tests/e2e/. * * Auto-generated UI contract tests use a separate config * (`generated/code/playwright.contract.config.ts`) regenerated by * `spv realize` on every run. This file is yours — edit freely. */ import { defineConfig } from '@playwright/test'; export default defineConfig({ testDir: './tests/e2e', timeout: 30_000, expect: { timeout: 10_000 }, reporter: 'list', use: { baseURL: process.env.SPECVERSE_FRONTEND_URL || 'http://localhost:5173', trace: 'on-first-retry', }, projects: [ { name: 'chromium', use: { browserName: 'chromium' }, }, ], });