Commit Graph

4 Commits

Author SHA1 Message Date
weli e70777160f fix(clazz-e2e): increase role dialog wait in clazz-ui.spec.ts to 15s
Same fix as e43b059: the 3-second waitForTimeout before checking the
role selection dialog is insufficient in CI. Replaced with
waitFor({ state: 'visible', timeout: 15_000 }).

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-03 03:39:50 +08:00
weli 5a1effd521 e2e: enable clazz-ui FullCalendar test, fix department-single-transparent
- Un-skip clazz-ui FullCalendar test by adding login + role selection
- Use subjectPayload.current_department_id (JWT sub claim) for dept
  assertion instead of top-level payload
- Add explicit auth token waits and /clazz navigation for reliability
- Remove unnecessary timeouts and debug logging

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-02 18:30:05 +08:00
weli fd8eb6ec48 test: fix clazz-ui tests for non-logged-in state
- Mark FullCalendar visibility test as fixme (requires login)
- Simplify first test to check no JS crashes instead of FullCalendar

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-01 19:53:02 +08:00
weli 361af750b3 test: add clazz UI and audit log E2E tests
- Add clazz calendar page load tests
- Add audit log API reachability test

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-01 19:46:11 +08:00