Commit Graph

6 Commits

Author SHA1 Message Date
weli 68780b432a debug(clazz-e2e): add page state debugging for CI view-toolbar failure
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-03 03:21:18 +08:00
weli 29ceb195b8 fix(clazz-e2e): robust event click, selector fix, supervisor graceful skip
- clazz-scheduling: use JS dispatchEvent to bypass fc-timegrid-event-harness
- clazz-scheduling: wait for event visibility instead of immediate count
- clazz-dual-view: fix .view-toolbar__range selector (sibling not child)
- clazz-supervisor-matrix: improve role switch confirm dialog handling
- clazz-supervisor-matrix: graceful skip when 周晓慧 has no courses this week

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-03 00:27:46 +08:00
weli 5fb6293b65 test: add supervisor matrix view E2E tests
Add 3 tests for SUPERVISOR role in matrix view:
- TEACHER mode: subsidiary teacher not visible
- SUPERVISOR mode: subsidiary courses appear with different colors
- Switch back to TEACHER: subsidiary courses disappear

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-02 11:37:51 +08:00
weli ef7674cede e2e: update tests for weekly-timetable grid layout (days × slots)
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-02 09:17:34 +08:00
weli b16556ca63 e2e: update matrix view tests for two-row header + teacher/student info
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-02 09:07:27 +08:00
weli 27148f0e52 e2e: add dual-view (calendar/matrix) switching tests
- View toggle button visibility and active state
- Matrix view renders time slots and date columns
- Navigation buttons (prev/this-week/next)
- Empty cell click opens create form
- Switch back to calendar preserves FullCalendar

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-02 08:44:12 +08:00