weli
27ba562f39
test(course-package): add teacher UI test verifying nav link and page render
...
Navigate to teacher.moicen.com, verify "课包" nav link is visible for
teacher/supervisor, click through to /course-packages, assert seeded
data renders. Catches frontend build/deploy regressions.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-04-30 10:36:20 +08:00
weli
894ca05566
fix(course-package): extract role_key from JWT sub roles objects
...
JWT sub.roles is an array of objects with role_key field, not plain
strings. Fix extractRoleKeys to map role_key from each role object.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-04-30 08:41:54 +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
weli
700532b36a
test(admin): moicen 管理端 /tasks Playwright 与 .env 样例
...
MOICEN_ADMIN_* 与 HUIKE_ADMIN_BASE_URL;凭据仅本地 .env.e2e(gitignore)。
Made-with: Cursor
2026-04-26 20:22:17 +08:00
weli
5c8b2330d5
test: drop MOICEN_E2E_EXPECTED_REAL_NAME; assert 欢迎回来 without real_name
...
Made-with: Cursor
2026-04-26 20:11:47 +08:00
weli
1e7337c239
test: guest onboarding, logged-in isolation, optional real_name
...
Add guest-onboarding and logged-in-and-isolation specs; remove moicen-unionid-chain;
MOICEN_E2E_EXPECTED_REAL_NAME for 欢迎回来+姓名; CI secret; workers=1; longer goto timeouts.
Made-with: Cursor
2026-04-26 17:22:41 +08:00
weli
c5d054789e
feat: Playwright against deployed music-room (shell + optional unionid chain)
...
No Rust/Compose; GitHub Actions with MOICEN_E2E_UNIONID secret; dotenv .env.e2e; proxy install script.
Made-with: Cursor
2026-04-26 17:01:52 +08:00