test: screenshot-lauf vom smoke-test trennen

Beide Specs liegen unter e2e/, deshalb hat der Smoke-Lauf auch die
Screenshot-Spec mitgenommen - beide registrieren einen ersten Nutzer in
derselben Datenbank und sind sich dabei in die Quere gekommen. Der
Smoke-Lauf nimmt jetzt ausdruecklich nur smoke.spec.ts.

Dazu 30 statt 15 Sekunden fuer die Erwartungen: die erste Navigation auf
eine noch nicht uebersetzte Route dauert im Dev-Server laenger.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
unknown
2026-09-07 01:06:31 +02:00
co-authored by Claude Opus 5
parent f42cd31673
commit 546040c837
3 changed files with 6 additions and 1 deletions
Binary file not shown.

Before

Width:  |  Height:  |  Size: 80 KiB

After

Width:  |  Height:  |  Size: 89 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 99 KiB

After

Width:  |  Height:  |  Size: 108 KiB

+6 -1
View File
@@ -11,13 +11,18 @@ const BASE_URL = `http://localhost:${PORT}`;
export default defineConfig({ export default defineConfig({
testDir: './e2e', testDir: './e2e',
// The screenshot run has its own config, its own server and its own data
// directory - it must never join the smoke run.
testMatch: 'smoke.spec.ts',
globalSetup: './e2e/global-setup.ts', globalSetup: './e2e/global-setup.ts',
fullyParallel: false, fullyParallel: false,
workers: 1, workers: 1,
retries: 0, retries: 0,
// Generous: the dev server compiles each route on first visit. // Generous: the dev server compiles each route on first visit.
timeout: 240_000, timeout: 240_000,
expect: { timeout: 15_000 }, // A first navigation to a route the dev server has not compiled yet can
// take well over ten seconds on a cold cache.
expect: { timeout: 30_000 },
reporter: process.env.CI ? 'github' : 'list', reporter: process.env.CI ? 'github' : 'list',
use: { use: {
baseURL: BASE_URL, baseURL: BASE_URL,