import { defineConfig } from '@playwright/test'; // Separate from playwright.electron.config.ts (which hardcodes testMatch to // electron-smoke.spec.ts) purely so this one test can get a longer timeout — // real Ollama inference plus a real multi-round offline sync/reindex chain // legitimately takes longer than the smoke suite's 60s budget. export default defineConfig({ testDir: './e2e', testMatch: 'electron-ai-local-index.spec.ts', timeout: 120000, retries: 0, use: { trace: 'retain-on-failure', }, workers: 1, });