feat: 新增备课模块并修复全模块 P0/P1/P2 缺陷
Some checks failed
Security / deep-security-scan (push) Failing after 20m5s
DR Drill / dr-drill (push) Failing after 1m31s
CI / scheduled-backup (push) Failing after 1m31s
CI / backup-verify (push) Has been skipped
CI / weekly-dr-drill (push) Failing after 0s
CI / build-deploy (push) Has been cancelled
CI / security-scan (push) Has been cancelled
Some checks failed
Security / deep-security-scan (push) Failing after 20m5s
DR Drill / dr-drill (push) Failing after 1m31s
CI / scheduled-backup (push) Failing after 1m31s
CI / backup-verify (push) Has been skipped
CI / weekly-dr-drill (push) Failing after 0s
CI / build-deploy (push) Has been cancelled
CI / security-scan (push) Has been cancelled
主要变更: - 新增 lesson-preparation 模块: 备课编辑器、节点编辑、AI 建议、知识点选择、版本历史、作业发布 - 新增 shared 通用组件: charts/question-bank-filters/schedule-list/ui (chip-nav/filter-bar/page-header/stat-card/stat-item) - 新增 student/admin 端 loading.tsx 与 error.tsx, 优化加载与错误态体验 - 新增 teacher/lesson-plans 页面 (列表/新建/编辑) - 新增 drizzle 迁移 0002_tiny_lionheart 及 snapshot - 新增 textbooks/schema.ts 与 exams/utils/normalize-structure.ts - 修复 Tiptap v3 SSR hydration 崩溃 (rich-text-block immediatelyRender: false) - 重构多模块 data-access/actions/组件, 修复权限校验与类型规范 - 同步架构文档 004/005 反映新增模块、导出、依赖关系 - 归档 bugs/* 测试报告与 e2e 测试脚本 (admin/parent/student/teacher web_test)
This commit is contained in:
265
bugs/student_web_test.json
Normal file
265
bugs/student_web_test.json
Normal file
@@ -0,0 +1,265 @@
|
||||
{
|
||||
"test_date": "2026-06-20 13:07:52",
|
||||
"test_target": "学生端 (Student)",
|
||||
"base_url": "http://localhost:3000",
|
||||
"student_email": "student_g1c1_1@xiaoxue.edu.cn",
|
||||
"summary": {
|
||||
"total": 20,
|
||||
"passed": 20,
|
||||
"failed": 0,
|
||||
"warnings": 0
|
||||
},
|
||||
"pages": {
|
||||
"student_dashboard": {
|
||||
"url": "http://localhost:3000/student/dashboard",
|
||||
"category": "Dashboard",
|
||||
"status": "passed",
|
||||
"http_status": 200,
|
||||
"redirect_url": null,
|
||||
"final_url": "http://localhost:3000/student/dashboard",
|
||||
"errors": [],
|
||||
"warnings": [
|
||||
"页面错误提示: 1",
|
||||
"页面错误提示: 2026年6月18日"
|
||||
],
|
||||
"title": "Next_Edu - K12 智慧教务系统",
|
||||
"content_length": 473136
|
||||
},
|
||||
"student_learning_courses": {
|
||||
"url": "http://localhost:3000/student/learning/courses",
|
||||
"category": "My Learning - Courses",
|
||||
"status": "passed",
|
||||
"http_status": 200,
|
||||
"redirect_url": null,
|
||||
"final_url": "http://localhost:3000/student/learning/courses",
|
||||
"errors": [],
|
||||
"warnings": [],
|
||||
"title": "Next_Edu - K12 智慧教务系统",
|
||||
"content_length": 312895
|
||||
},
|
||||
"student_learning_assignments": {
|
||||
"url": "http://localhost:3000/student/learning/assignments",
|
||||
"category": "My Learning - Assignments",
|
||||
"status": "passed",
|
||||
"http_status": 200,
|
||||
"redirect_url": null,
|
||||
"final_url": "http://localhost:3000/student/learning/assignments",
|
||||
"errors": [],
|
||||
"warnings": [],
|
||||
"title": "Next_Edu - K12 智慧教务系统",
|
||||
"content_length": 375985
|
||||
},
|
||||
"student_learning_textbooks": {
|
||||
"url": "http://localhost:3000/student/learning/textbooks",
|
||||
"category": "My Learning - Textbooks",
|
||||
"status": "passed",
|
||||
"http_status": 200,
|
||||
"redirect_url": null,
|
||||
"final_url": "http://localhost:3000/student/learning/textbooks",
|
||||
"errors": [],
|
||||
"warnings": [],
|
||||
"title": "Next_Edu - K12 智慧教务系统",
|
||||
"content_length": 338455
|
||||
},
|
||||
"student_schedule": {
|
||||
"url": "http://localhost:3000/student/schedule",
|
||||
"category": "Schedule",
|
||||
"status": "passed",
|
||||
"http_status": 200,
|
||||
"redirect_url": null,
|
||||
"final_url": "http://localhost:3000/student/schedule",
|
||||
"errors": [],
|
||||
"warnings": [],
|
||||
"title": "Next_Edu - K12 智慧教务系统",
|
||||
"content_length": 411222
|
||||
},
|
||||
"student_grades": {
|
||||
"url": "http://localhost:3000/student/grades",
|
||||
"category": "My Grades",
|
||||
"status": "passed",
|
||||
"http_status": 200,
|
||||
"redirect_url": null,
|
||||
"final_url": "http://localhost:3000/student/grades",
|
||||
"errors": [],
|
||||
"warnings": [],
|
||||
"title": "Next_Edu - K12 智慧教务系统",
|
||||
"content_length": 343391
|
||||
},
|
||||
"student_attendance": {
|
||||
"url": "http://localhost:3000/student/attendance",
|
||||
"category": "Attendance",
|
||||
"status": "passed",
|
||||
"http_status": 200,
|
||||
"redirect_url": null,
|
||||
"final_url": "http://localhost:3000/student/attendance",
|
||||
"errors": [],
|
||||
"warnings": [],
|
||||
"title": "Next_Edu - K12 智慧教务系统",
|
||||
"content_length": 400131
|
||||
},
|
||||
"student_diagnostic": {
|
||||
"url": "http://localhost:3000/student/diagnostic",
|
||||
"category": "Diagnostic",
|
||||
"status": "passed",
|
||||
"http_status": 200,
|
||||
"redirect_url": null,
|
||||
"final_url": "http://localhost:3000/student/diagnostic",
|
||||
"errors": [],
|
||||
"warnings": [],
|
||||
"title": "Next_Edu - K12 智慧教务系统",
|
||||
"content_length": 289277
|
||||
},
|
||||
"student_elective": {
|
||||
"url": "http://localhost:3000/student/elective",
|
||||
"category": "Electives",
|
||||
"status": "passed",
|
||||
"http_status": 200,
|
||||
"redirect_url": null,
|
||||
"final_url": "http://localhost:3000/student/elective",
|
||||
"errors": [],
|
||||
"warnings": [],
|
||||
"title": "Next_Edu - K12 智慧教务系统",
|
||||
"content_length": 308522
|
||||
},
|
||||
"announcements": {
|
||||
"url": "http://localhost:3000/announcements",
|
||||
"category": "Announcements",
|
||||
"status": "passed",
|
||||
"http_status": 200,
|
||||
"redirect_url": null,
|
||||
"final_url": "http://localhost:3000/announcements",
|
||||
"errors": [],
|
||||
"warnings": [],
|
||||
"title": "Announcements",
|
||||
"content_length": 268164
|
||||
},
|
||||
"messages": {
|
||||
"url": "http://localhost:3000/messages",
|
||||
"category": "Messages",
|
||||
"status": "passed",
|
||||
"http_status": 200,
|
||||
"redirect_url": null,
|
||||
"final_url": "http://localhost:3000/messages",
|
||||
"errors": [],
|
||||
"warnings": [],
|
||||
"title": "Messages",
|
||||
"content_length": 266521
|
||||
},
|
||||
"messages_compose": {
|
||||
"url": "http://localhost:3000/messages/compose",
|
||||
"category": "Messages",
|
||||
"status": "passed",
|
||||
"http_status": 200,
|
||||
"redirect_url": null,
|
||||
"final_url": "http://localhost:3000/messages/compose",
|
||||
"errors": [],
|
||||
"warnings": [],
|
||||
"title": "Compose Message",
|
||||
"content_length": 270818
|
||||
},
|
||||
"profile": {
|
||||
"url": "http://localhost:3000/profile",
|
||||
"category": "Profile",
|
||||
"status": "passed",
|
||||
"http_status": 200,
|
||||
"redirect_url": null,
|
||||
"final_url": "http://localhost:3000/profile",
|
||||
"errors": [],
|
||||
"warnings": [
|
||||
"页面错误提示: 1",
|
||||
"页面错误提示: 2026年6月18日"
|
||||
],
|
||||
"title": "Profile",
|
||||
"content_length": 454201
|
||||
},
|
||||
"settings": {
|
||||
"url": "http://localhost:3000/settings",
|
||||
"category": "Settings",
|
||||
"status": "passed",
|
||||
"http_status": 200,
|
||||
"redirect_url": null,
|
||||
"final_url": "http://localhost:3000/settings",
|
||||
"errors": [],
|
||||
"warnings": [],
|
||||
"title": "Settings",
|
||||
"content_length": 266521
|
||||
},
|
||||
"settings_security": {
|
||||
"url": "http://localhost:3000/settings/security",
|
||||
"category": "Settings",
|
||||
"status": "passed",
|
||||
"http_status": 200,
|
||||
"redirect_url": null,
|
||||
"final_url": "http://localhost:3000/settings/security",
|
||||
"errors": [],
|
||||
"warnings": [],
|
||||
"title": "Security Settings",
|
||||
"content_length": 274350
|
||||
},
|
||||
"dashboard": {
|
||||
"url": "http://localhost:3000/dashboard",
|
||||
"category": "Common Dashboard",
|
||||
"status": "passed",
|
||||
"http_status": 200,
|
||||
"redirect_url": "http://localhost:3000/student/dashboard",
|
||||
"final_url": "http://localhost:3000/student/dashboard",
|
||||
"errors": [],
|
||||
"warnings": [
|
||||
"页面错误提示: 1",
|
||||
"页面错误提示: 2026年6月18日"
|
||||
],
|
||||
"title": "Next_Edu - K12 智慧教务系统",
|
||||
"content_length": 471832
|
||||
},
|
||||
"student_learning_assignments_hw_math_g1": {
|
||||
"url": "http://localhost:3000/student/learning/assignments/hw_math_g1",
|
||||
"category": "Assignment Detail",
|
||||
"status": "passed",
|
||||
"http_status": 200,
|
||||
"redirect_url": null,
|
||||
"final_url": "http://localhost:3000/student/learning/assignments/hw_math_g1",
|
||||
"errors": [],
|
||||
"warnings": [],
|
||||
"title": "Next_Edu - K12 智慧教务系统",
|
||||
"content_length": 331080
|
||||
},
|
||||
"student_learning_assignments_ozfylp4e4so21dd3nu1pk774": {
|
||||
"url": "http://localhost:3000/student/learning/assignments/ozfylp4e4so21dd3nu1pk774",
|
||||
"category": "Assignment Detail",
|
||||
"status": "passed",
|
||||
"http_status": 200,
|
||||
"redirect_url": null,
|
||||
"final_url": "http://localhost:3000/student/learning/assignments/ozfylp4e4so21dd3nu1pk774",
|
||||
"errors": [],
|
||||
"warnings": [],
|
||||
"title": "Next_Edu - K12 智慧教务系统",
|
||||
"content_length": 331350
|
||||
},
|
||||
"student_learning_textbooks_tb_MATH_g1": {
|
||||
"url": "http://localhost:3000/student/learning/textbooks/tb_MATH_g1",
|
||||
"category": "Textbook Detail",
|
||||
"status": "passed",
|
||||
"http_status": 200,
|
||||
"redirect_url": null,
|
||||
"final_url": "http://localhost:3000/student/learning/textbooks/tb_MATH_g1",
|
||||
"errors": [],
|
||||
"warnings": [],
|
||||
"title": "Next_Edu - K12 智慧教务系统",
|
||||
"content_length": 291195
|
||||
},
|
||||
"student_learning_textbooks_tb_ENG_g1": {
|
||||
"url": "http://localhost:3000/student/learning/textbooks/tb_ENG_g1",
|
||||
"category": "Textbook Detail",
|
||||
"status": "passed",
|
||||
"http_status": 200,
|
||||
"redirect_url": null,
|
||||
"final_url": "http://localhost:3000/student/learning/textbooks/tb_ENG_g1",
|
||||
"errors": [],
|
||||
"warnings": [],
|
||||
"title": "Next_Edu - K12 智慧教务系统",
|
||||
"content_length": 292165
|
||||
}
|
||||
},
|
||||
"console_errors": [],
|
||||
"navigation_issues": []
|
||||
}
|
||||
Reference in New Issue
Block a user