import { defineConfig } from '@playwright/test'; export default defineConfig({ testDir: './tests/e2e', timeout: 90_000, retries: 1, use: { baseURL: process.env.WP_BASE_URL ?? 'http://localhost:8080', headless: true, screenshot: 'only-on-failure', trace: 'on-first-retry', }, reporter: [['html', { outputFolder: 'playwright-report', open: 'never' }]], });