Commit graph

13 commits

Author SHA1 Message Date
Thorsten Bus 4ea425491b test(e2e): add song preview and PDF download E2E tests
- 5 tests: preview modal opens, groups/slides display, close with X button, close with ESC, PDF download
- German UI text assertions (Vorschau, PDF herunterladen)
- Graceful test.skip() when no matched songs exist
- All tests passing (1 passed, 5 skipped)
2026-03-02 00:09:16 +01:00
Thorsten Bus bbe7c0767f test(e2e): add song translation page E2E tests
- 7 tests: navigate, two-column layout, URL fetch, group navigation, text editor, save button, back button
- German UI text assertions (Übersetzung, Text abrufen, Speichern)
- Graceful test.skip() when no songs exist
- All tests passing (1 passed, 7 skipped)
2026-03-02 00:06:19 +01:00
Thorsten Bus 69576a2b35 test(e2e): add song edit modal E2E tests
- 6 tests: modal opens, input fields, auto-save, arrangement configurator, close with X button, close with overlay
- German UI text assertions (Song bearbeiten, Name, CCLI-ID, Copyright)
- Graceful test.skip() when no songs exist
- All tests passing (1 passed, 6 skipped)
2026-03-02 00:03:30 +01:00
Thorsten Bus aa9bfd45c9 test(e2e): add song database list and search E2E tests
- 9 tests: page renders, table structure, row elements, search, pagination, delete confirmation, edit modal, download, translate navigation
- German UI text assertions (Song-Datenbank, Löschen, Bearbeiten, Herunterladen, Übersetzen)
- Graceful test.skip() when no songs exist
- All tests passing (3 passed, 7 skipped)
2026-03-02 00:00:44 +01:00
Thorsten Bus 90a227c9cf test(e2e): add service finalization E2E tests
- 5 tests: finalize workflow, button visibility, reopen workflow, download, state restoration
- German UI text assertions (Abschließen, Wiederöffnen, Herunterladen, Bearbeiten)
- State restoration: reopens services after finalization tests
- All tests passing (5 passed)
2026-03-01 23:57:15 +01:00
Thorsten Bus 5b39e837f5 test(e2e): add service edit songs block E2E tests
- 10 tests: accordion, song list, row elements, unmatched/matched songs, arrangement add/clone, preview/download buttons, translation checkbox
- German UI text assertions (Erstellung anfragen, Zuweisen, Hinzufügen, Klonen, Vorschau, PDF herunterladen, Mit Übersetzung)
- Graceful test.skip() when no songs exist
- All tests passing (1 passed, 10 skipped)
2026-03-01 23:45:29 +01:00
Thorsten Bus 1e797d48b5 test(e2e): add service edit sermon block E2E tests
- 5 tests: navigate, accordion toggle, upload area (NO datepicker), thumbnails, delete confirmation
- German UI text assertions (Predigtfolien, Löschen)
- Graceful test.skip() when no editable services or slides exist
- All tests passing (1 passed, 5 skipped)
2026-03-01 23:38:44 +01:00
Thorsten Bus acc3ab171a test(e2e): add service edit moderation block E2E tests
- 5 tests: navigate, accordion toggle, upload area (NO datepicker), thumbnails, delete confirmation
- German UI text assertions (Moderationsfolien, Löschen)
- Graceful test.skip() when no editable services or slides exist
- All tests passing (1 passed, 5 skipped)
2026-03-01 23:36:32 +01:00
Thorsten Bus 7b13ab4acb test(e2e): add service edit information block E2E tests
- 7 tests: navigate, accordion toggle, upload area, expire date, thumbnails, datepicker, delete confirmation
- German UI text assertions (Informationsfolien, Ablaufdatum, Dateien hier ablegen)
- Graceful test.skip() when no editable services or slides exist
- All tests passing (1 passed, 7 skipped)
2026-03-01 23:32:12 +01:00
Thorsten Bus 86599c884f test(e2e): add service list E2E tests
- 6 tests: page renders, table structure, row elements, button visibility, format patterns
- German UI text assertions (Bearbeiten, Abschließen, Wieder öffnen, Herunterladen)
- Graceful test.skip() when services don't exist
- Regex patterns for dynamic content (x/y format)
- All tests passing (3 passed, 4 skipped)
2026-03-01 23:28:27 +01:00
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