Files
cv-site/playwright.config.js
T

29 lines
622 B
JavaScript
Raw Normal View History

// @ts-check
const { defineConfig, devices } = require('@playwright/test');
module.exports = defineConfig({
testDir: './tests',
fullyParallel: false, // Run tests sequentially for consistent measurements
forbidOnly: !!process.env.CI,
retries: 0,
workers: 1,
reporter: 'html',
use: {
trace: 'on-first-retry',
screenshot: 'on',
video: 'retain-on-failure'
},
projects: [
{
name: 'chromium',
use: { ...devices['Desktop Chrome'] },
},
],
2025-11-16 10:11:58 +00:00
webServer: {
command: 'npm run dev',
url: 'http://localhost:1999',
reuseExistingServer: true,
timeout: 5000,
},
});