Files
caddy-proxy-manager/tests/playwright.config.ts
2026-03-07 02:02:14 +01:00

24 lines
504 B
TypeScript

import { defineConfig, devices } from '@playwright/test';
export default defineConfig({
testDir: './e2e',
globalSetup: './global-setup.ts',
globalTeardown: './global-teardown.ts',
fullyParallel: false,
workers: 2,
retries: 0,
timeout: 30_000,
reporter: 'list',
use: {
baseURL: 'http://localhost:3000',
storageState: './.auth/admin.json',
trace: 'on-first-retry',
},
projects: [
{
name: 'chromium',
use: { ...devices['Desktop Chrome'] },
},
],
});