Files
gupi-osint-board/playwright.config.ts
T

24 lines
530 B
TypeScript

import { defineConfig } from '@playwright/test'
const port = 18788
export default defineConfig({
testDir: './e2e',
fullyParallel: false,
workers: 1,
retries: 0,
timeout: 30_000,
use: {
baseURL: `http://127.0.0.1:${port}`,
headless: true,
viewport: { width: 1280, height: 720 },
},
webServer: {
command: 'npm run e2e:serve',
url: `http://127.0.0.1:${port}/api/health`,
reuseExistingServer: false,
timeout: 120_000,
gracefulShutdown: { signal: 'SIGTERM', timeout: 10_000 },
},
})