Add the Vitest and Playwright harness with the login E2E test. (#109)
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
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',
|
||||
});
|
||||
Reference in New Issue
Block a user