19 lines
400 B
TypeScript
19 lines
400 B
TypeScript
import { defineConfig } from '@playwright/test'
|
|
|
|
export default defineConfig({
|
|
testDir: 'tests/e2e',
|
|
testMatch: ['**/*.e2e.ts'],
|
|
timeout: 30_000,
|
|
use: {
|
|
baseURL: 'http://localhost:3000',
|
|
headless: true,
|
|
acceptDownloads: true,
|
|
},
|
|
webServer: {
|
|
command: 'npm run dev',
|
|
url: 'http://localhost:3000/en/builder',
|
|
reuseExistingServer: true,
|
|
timeout: 120_000,
|
|
},
|
|
})
|