Commit Graph

2 Commits

Author SHA1 Message Date
Denis Urs Rudolph d3ec22aa99 Fix frontend test failures
- Fix login-form.test.tsx: replace undefined 'form' variable with proper element check
- Fix event-list.test.tsx: use getAllByRole('combobox') for select elements without labels
- Fix event-list.test.tsx: match actual error message text instead of generic message
- Fix dashboard.test.tsx: match actual error message and support different number formatting
2026-04-06 22:33:41 +02:00
Denis Urs Rudolph 23dab73bd8 Add Dashboard component tests
- Create dashboard.test.tsx with 14 test cases
- Tests for organizer dashboard (loading, data display, quick actions)
- Tests for participant dashboard (stats, registrations)
- Negative tests for API failures and null data
2026-04-06 22:06:20 +02:00