Files
profilarr/tests/e2e/pcd/playwright.config.ts
2026-03-15 03:01:25 +10:30

19 lines
477 B
TypeScript

import { defineConfig } from '@playwright/test';
import { fileURLToPath } from 'node:url';
export default defineConfig({
testDir: fileURLToPath(new URL('./specs', import.meta.url)),
timeout: 60_000,
expect: { timeout: 10_000 },
fullyParallel: false,
retries: 0,
workers: 1,
reporter: 'list',
use: {
baseURL: process.env.BASE_URL || 'http://localhost:6969',
headless: process.env.HEADED !== '1',
screenshot: 'only-on-failure',
trace: 'retain-on-failure'
}
});