19 lines
444 B
JavaScript
19 lines
444 B
JavaScript
import { defineConfig } from '@playwright/test';
|
|
|
|
export default defineConfig({
|
|
testDir: './apps/web/tests/e2e',
|
|
timeout: 30_000,
|
|
use: {
|
|
baseURL: process.env.E2E_BASE_URL ?? 'http://localhost:5173',
|
|
trace: 'on-first-retry',
|
|
screenshot: 'only-on-failure',
|
|
},
|
|
webServer: {
|
|
command: 'npm run dev:web',
|
|
url: 'http://localhost:5173',
|
|
reuseExistingServer: true,
|
|
timeout: 30_000,
|
|
},
|
|
reporter: [['list']],
|
|
});
|