import { defineConfig, devices } from '@playwright/test'; // The e2e runs inside the compose network (infra/run-e2e-check.sh); baseURL defaults to the // self-service service. Keep timeouts generous — the first navigation triggers the DigiD flow. export default defineConfig({ testDir: '.', timeout: 90_000, expect: { timeout: 15_000 }, retries: 1, reporter: [['list']], use: { baseURL: process.env.SELF_SERVICE_URL ?? 'http://self-service', trace: 'on-first-retry', }, projects: [{ name: 'chromium', use: { ...devices['Desktop Chrome'] } }], });