test: add E2E tests covering full user journeys

- Create tests/e2e/full-flow.spec.ts with 5 E2E scenarios
- Test home page navigation and layout
- Test game creation via form
- Test metadata search functionality
- Test ROM-to-game linking workflow
- Test complete user journey: create → search → link → view
- Configure Playwright for multi-browser testing (chromium, firefox, webkit)
- Optimize playwright.config.ts for E2E stability
- Total: 15 tests (5 scenarios × 3 browsers)
This commit is contained in:
2026-02-12 20:34:44 +01:00
parent 9befb8db6c
commit 907d3042bc
4 changed files with 212 additions and 16 deletions

View File

@@ -15,6 +15,8 @@
"test:install": "playwright install --with-deps",
"test:ci": "vitest run --reporter=github",
"test:playwright": "playwright test",
"test:e2e": "playwright test tests/e2e",
"test:e2e:debug": "playwright test tests/e2e --debug",
"lint": "eslint . --ext .js,.ts",
"format": "prettier --write .",
"start": "node src/index.js"