mirror of
https://github.com/Dictionarry-Hub/profilarr.git
synced 2026-04-19 05:18:42 -04:00
19 lines
477 B
TypeScript
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'
|
|
}
|
|
});
|