Commit Graph

14 Commits

Author SHA1 Message Date
Denis Urs Rudolph 9122eeff9d Fix frontend test assertions - remove inaccessible form role checks
- Update login-form.test.tsx to remove screen.getByRole('form') assertions
- Tests now check for form elements directly by label text
2026-04-06 22:18:06 +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
Denis Urs Rudolph ef3d05f827 Add EventList component tests
- Create event-list.test.tsx with 12 test cases
- Tests for loading states, data display, filtering
- Tests for error handling and empty states
- Mock API for isolated testing
2026-04-06 22:03:50 +02:00
Denis Urs Rudolph db7a183928 Add initial frontend component tests
- Create login-form.test.tsx with 8 test cases (positive and negative)
- Create register-form.test.tsx with 10 test cases
- Set up test directory structure at frontend/src/components/__tests__
- Mock auth-context and next/navigation for testing
2026-04-06 22:01:26 +02:00
Denis Urs Rudolph 571fe5bc7c Add comprehensive test suite infrastructure
- Create backend xUnit test project with Moq and FluentAssertions
- Add test utilities: TestDataFactory, MockHttpContext, TestUserClaims
- Create AuthControllerTests with comprehensive auth scenarios
- Install Jest and React Testing Library for frontend
- Configure jest.config.ts and jest.setup.ts with Next.js support
- Add test scripts to package.json
2026-04-05 22:16:44 +02:00
Denis Urs Rudolph 79b41a3650 Complete remaining tasks: deployment config, announcement pages 2026-04-03 21:43:27 +02:00
Denis Urs Rudolph f282775c9a Add payment form and announcement components 2026-04-03 21:40:12 +02:00
Denis Urs Rudolph 739ffe510d Add registration form and complete frontend integration 2026-04-03 21:35:12 +02:00
Denis Urs Rudolph 8a264cd2b1 Add registrations list and dashboard components 2026-04-03 21:32:44 +02:00
Denis Urs Rudolph 924c5c8420 Complete authentication and event management frontend 2026-04-03 21:29:09 +02:00
Denis Urs Rudolph e6430e855b Add event detail/form components and page routes 2026-04-03 21:26:58 +02:00
Denis Urs Rudolph 71ba829d6c Add frontend login/register forms and event list component 2026-04-03 21:18:59 +02:00
Denis Urs Rudolph b54e2265d9 Add frontend API client and authentication context 2026-04-03 21:15:33 +02:00
Denis Urs Rudolph 8bfd49e0ab WIP: Project setup with .NET backend and Next.js frontend 2026-04-03 20:55:58 +02:00