Files
NextEdu/bugs/teacher_web_test_post_audit.md
SpecialX e4254f0f8e docs: update architecture map and add lesson-preparation usage fixes design
- Update architecture impact map (004) and data (005) with new modules

- Add lesson-preparation usage fixes design spec

- Add teacher web test post-audit report
2026-06-24 12:01:35 +08:00

104 KiB
Raw Blame History

教师端 Web 功能测试报告 (Post-Audit)

测试日期: 2026-06-23 18:27:12 测试范围: 所有教师端页面功能 (审计修复后) 测试工具: Playwright + Chromium (Python) 测试账号: t_chinese_1@xiaoxue.edu.cn


一、测试概览

指标 数值
总测试页面数 39
PASS 38
FAIL 1
WARN 0
通过率 97.4%

二、页面测试详情

Dashboard

页面 HTTP状态 结果 备注
PASS /teacher/dashboard 200 passed 错误: A tree hydrated but some attributes of the server rendered HTML didn't match the client properties. This won't be patched up. This can happen if a SSR-ed Client Component used:
  • A server/client branch if (typeof window !== 'undefined').
  • Variable input such as Date.now() or Math.random() which changes each time it's called.
  • Date formatting in a user's locale which doesn't match the server.
  • External changing data without sending a snapshot of it along with the HTML.
  • Invalid HTML tag nesting.

It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.

%s%s https://react.dev/link/hydration-mismatch

... <SidebarProvider sidebar={}>