Files
cinny-desktop/playwright.config.mjs
T

14 lines
466 B
JavaScript

import { defineConfig } from '@playwright/test';
export default defineConfig({
testDir: './tests/e2e',
// Electron launch plus first paint is far slower than a page load.
timeout: 120_000,
// One Electron process at a time: the app takes a single-instance lock and
// every test shares the same vite dev server.
workers: 1,
outputDir: 'test-results',
reporter: [['list'], ['html', { open: false }]],
globalSetup: './tests/e2e/dev-server.mjs',
});