Add the Vitest and Playwright harness with the login E2E test. (#109)

This commit is contained in:
2026-11-03 10:10:25 +11:00
parent 2444654a58
commit 348e47dbd8
10 changed files with 1420 additions and 6 deletions
+13
View File
@@ -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',
});