playwright.config.ts 319 B

12345678910111213
  1. import { defineConfig, devices } from '@playwright/test'
  2. export default defineConfig({
  3. testDir: '.',
  4. timeout: 60_000,
  5. use: {
  6. baseURL: process.env.E2E_BASE_URL ?? 'http://localhost:5173',
  7. trace: 'retain-on-failure'
  8. },
  9. projects: [
  10. { name: 'chromium', use: { ...devices['Desktop Chrome'] } }
  11. ]
  12. })