21 lines
445 B
JavaScript
21 lines
445 B
JavaScript
import { defineConfig } from '@playwright/test'
|
|
|
|
export default defineConfig({
|
|
testDir: 'tests/e2e',
|
|
timeout: 60000,
|
|
expect: {
|
|
timeout: 10000
|
|
},
|
|
use: {
|
|
baseURL: process.env.PLAYWRIGHT_BASE_URL || 'http://localhost:8000',
|
|
headless: true
|
|
},
|
|
reporter: 'list',
|
|
webServer: {
|
|
command: 'npm run start:e2e',
|
|
url: 'http://localhost:8000/index.html',
|
|
reuseExistingServer: !process.env.CI,
|
|
timeout: 60000
|
|
}
|
|
})
|