19 lines
527 B
TypeScript
19 lines
527 B
TypeScript
import { defineConfig } from '@playwright/test'
|
|
|
|
export default defineConfig({
|
|
testDir: './tests/e2e',
|
|
timeout: 30_000,
|
|
retries: 0,
|
|
reporter: [['list']],
|
|
use: {
|
|
baseURL: process.env.PLAYWRIGHT_TEST_BASE_URL || 'http://localhost:9527',
|
|
headless: true,
|
|
launchOptions: {
|
|
executablePath: process.env.PLAYWRIGHT_CHROMIUM_EXECUTABLE_PATH || undefined
|
|
},
|
|
screenshot: 'on',
|
|
video: process.env.PLAYWRIGHT_DISABLE_VIDEO === '1' ? 'off' : 'retain-on-failure',
|
|
trace: 'retain-on-failure'
|
|
}
|
|
})
|