Replace text-based filter that failed to find teacher role button with
the original index-based approach (nth(2)), wrapped in an org-select
handling loop matching the supervisor-features pattern.
Also adds test.setTimeout(240_000) for CI environment slowness and
documents authcore as public repo in CLAUDE.md.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
- Increase page.goto timeout from 60s to 120s in all login helpers
(9 CI timeout failures were all login page.goto timeouts)
- Make clazz-supervisor-matrix switchToRole gracefully skip when
role switcher icon is not available (no multi-role user)
- Update clazz-scheduling tests to match production UI (no
.fc-createClazz-button, use .view-toolbar instead)
- Update clazz-ui .fc-toolbar → .view-toolbar selector
- Update department test to handle single-dept optional
CurrentDepartmentId (multi-org user may not auto-select)
- Update teacher-switching tests to match student profile UI
(no .current-teacher section)
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Replace fixed waitForTimeout(2000) with expect.poll({ timeout: 15_000 })
so the API verification retries until the created package and its item
association are queryable. CI is slower than local, causing false failures.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
CLAUDE.md: merge communication style, toolchain, project structure from
AGENTS.md; add gh run watch workflow instructions.
course-package-store:465: skip gracefully when pkg-mc-001 doesn't exist
or student can't access detail page (CI data dependency).
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
- Document running playwright tests locally against moicen before pushing
- Helps avoid wasted CI cycles
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>