Files
goauto/web/playwright.config.ts
T

19 lines
492 B
TypeScript

import { defineConfig } from '@playwright/test';
export default defineConfig({
testDir: './tests/e2e',
timeout: 30_000,
retries: 0,
reporter: [['list']],
use: {
baseURL: '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',
},
});