import { defineConfig } from '@playwright/test'; import { fileURLToPath } from 'url'; import path from 'path'; const __dirname = path.dirname(fileURLToPath(import.meta.url)); export default defineConfig({ testDir: './e2e', timeout: 90000, retries: 0, globalSetup: path.join(__dirname, 'e2e/global-setup.ts'), globalTeardown: path.join(__dirname, 'e2e/global-teardown.ts'), use: { baseURL: 'http://localhost:14001', headless: true, screenshot: 'only-on-failure', trace: 'retain-on-failure', }, projects: [ { name: 'chromium', use: { browserName: 'chromium' } }, ], });