import { defineConfig } from '@playwright/test';

const baseURL = process.env.PLAYWRIGHT_BASE_URL ?? 'http://127.0.0.1:8002';

export default defineConfig({
  testDir: './tests/playwright',
  timeout: 30_000,
  fullyParallel: true,
  retries: 0,
  use: {
    baseURL,
    trace: 'retain-on-failure'
  },
  reporter: [['list']]
});