Thorsten Bus
93b214c172
test(e2e): add dashboard and navigation E2E tests
...
- 9 tests: dashboard render, nav links, user display, sync button, navigation flows
- Tests navigation to services and songs pages
- German UI text assertions (Willkommen, Gottesdienste, Song-Datenbank)
- All tests passing
2026-03-01 23:13:36 +01:00
Thorsten Bus
726e291dc6
test(e2e): add auth E2E tests
...
- 5 tests: login page display, dummy login, logout, protected routes, OAuth button
- Uses storageState from auth.setup.ts for authenticated tests
- CSRF protection for logout via XSRF token
- German UI text assertions
- All tests passing (3 passed, 3 skipped in default project)
2026-03-01 23:01:46 +01:00
Thorsten Bus
f313e7be8c
test(e2e): add Playwright infrastructure with auth setup
...
- Install @playwright/test and chromium browser
- Create playwright.config.ts (baseURL, workers:1, no webServer)
- Create tests/e2e/auth.setup.ts (dummy login via POST /dev-login)
- Add test:e2e npm script
- Update .gitignore for tests/e2e/.auth/ and test-results/
- Auth setup uses page.request.post() to bypass ZiggyVue dependency
- storageState pattern for reusing login across tests
2026-03-01 22:45:19 +01:00