Files
svgedit/playwright.config.mjs
2025-12-07 18:20:29 +01:00

21 lines
450 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: 180 * 1000
}
})