Files
static-pages/apps/survey.immich.app/playwright.config.ts
T
2026-08-19 14:53:56 +02:00

24 lines
557 B
TypeScript

import { defineConfig } from '@playwright/test';
export default defineConfig({
testDir: './e2e',
testMatch: '*.e2e.ts',
timeout: 30_000,
expect: { timeout: 5000 },
fullyParallel: false,
// Retries in CI only, so local runs surface real regressions instead of
// masking them.
retries: process.env.CI ? 2 : 0,
use: {
baseURL: process.env.BASE_URL || 'http://localhost:5173',
headless: true,
screenshot: 'only-on-failure',
},
projects: [
{
name: 'chromium',
use: { browserName: 'chromium' },
},
],
});