2 Commits

Author SHA1 Message Date
weli 6c9a463301 fix(ci): increase login goto timeout to 120s and fix role switcher skip
music-room Playwright (Gitea Actions) / playwright (push) Failing after 1h5m50s
- 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>
2026-05-03 19:14:36 +08:00
weli d85027a933 feat(e2e): 核心全链路用例与辅助模块
新增 smoke-http、core-full-chain(访客深链守卫、登录黄金路径、可选健康 URL);抽出 music-room-session 辅助;Playwright 忽略本地 admin_debug;CI 注入可选 MOICEN_HEALTHCHECK_URL。

Made-with: Cursor
2026-04-28 11:53:48 +08:00