18 lines
366 B
TypeScript
18 lines
366 B
TypeScript
import { defineConfig } from '@playwright/test';
|
|
|
|
export default defineConfig({
|
|
testDir: './e2e',
|
|
timeout: 30_000,
|
|
retries: 1,
|
|
use: {
|
|
baseURL: 'http://localhost:3000',
|
|
trace: 'on-first-retry',
|
|
},
|
|
webServer: {
|
|
command: 'npm run dev',
|
|
url: 'http://localhost:3000/api/airports',
|
|
reuseExistingServer: true,
|
|
timeout: 120_000,
|
|
},
|
|
});
|