test-report-guide-20260503.json 6.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. {
  2. "reportId": "test-report-guide-20260503",
  3. "reportTime": "2026-05-03T19:20:00",
  4. "testEnvironment": {
  5. "backendUrl": "http://192.168.16.18:8080",
  6. "webUrl": "http://192.168.16.18:8082",
  7. "testAccounts": {
  8. "admin": { "username": "admin", "password": "admin123" }
  9. }
  10. },
  11. "summary": {
  12. "totalTests": 40,
  13. "apiTests": 23,
  14. "webTests": 17,
  15. "passed": 4,
  16. "failed": 0,
  17. "pending": 33,
  18. "skipped": 3
  19. },
  20. "apiTestCases": [
  21. { "id": "API-020", "module": "套餐", "description": "查看指导师套餐列表", "priority": "P0", "status": "pending" },
  22. { "id": "API-021", "module": "套餐", "description": "购买初级指导师套餐", "priority": "P0", "status": "pending" },
  23. { "id": "API-022", "module": "套餐", "description": "购买中级指导师套餐", "priority": "P0", "status": "pending" },
  24. { "id": "API-023", "module": "套餐", "description": "购买双培指导师套餐", "priority": "P0", "status": "pending" },
  25. { "id": "API-024", "module": "套餐", "description": "查看套餐购买记录", "priority": "P1", "status": "pending" },
  26. { "id": "API-025", "module": "服务", "description": "指导师创建测评服务", "priority": "P0", "status": "pending" },
  27. { "id": "API-026", "module": "服务", "description": "指导师创建自定义服务", "priority": "P0", "status": "pending" },
  28. { "id": "API-027", "module": "服务", "description": "指导师查看已发布服务列表", "priority": "P0", "status": "pending" },
  29. { "id": "API-028", "module": "服务", "description": "指导师编辑服务", "priority": "P1", "status": "pending" },
  30. { "id": "API-029", "module": "服务", "description": "指导师删除服务", "priority": "P1", "status": "pending" },
  31. { "id": "API-030", "module": "服务", "description": "家长购买指导师服务", "priority": "P0", "status": "pending" },
  32. { "id": "API-031", "module": "服务", "description": "查看服务购买记录", "priority": "P1", "status": "pending" },
  33. { "id": "API-032", "module": "任务", "description": "指导师创建绑定服务的任务", "priority": "P0", "status": "pending" },
  34. { "id": "API-033", "module": "任务", "description": "指导师查看已创建任务", "priority": "P0", "status": "pending" },
  35. { "id": "API-034", "module": "任务", "description": "家长选用指导师任务", "priority": "P0", "status": "pending" },
  36. { "id": "API-035", "module": "任务", "description": "查看任务服务绑定关系", "priority": "P1", "status": "pending" },
  37. { "id": "API-036", "module": "审核", "description": "管理员查看待审核指导师列表", "priority": "P0", "status": "pending" },
  38. { "id": "API-037", "module": "审核", "description": "管理员审核指导师申请", "priority": "P0", "status": "pending" },
  39. { "id": "API-038", "module": "审核", "description": "管理员审核内容完整性校验", "priority": "P1", "status": "pending" },
  40. { "id": "API-039", "module": "咨询", "description": "家长发送咨询留言", "priority": "P0", "status": "pending" },
  41. { "id": "API-040", "module": "咨询", "description": "指导师回复咨询", "priority": "P0", "status": "pending" },
  42. { "id": "API-041", "module": "咨询", "description": "查看咨询历史消息", "priority": "P0", "status": "pending" },
  43. { "id": "API-042", "module": "咨询", "description": "未读消息计数", "priority": "P1", "status": "pending" }
  44. ],
  45. "webTestCases": [
  46. { "id": "WEB-071", "description": "管理员查看指导师套餐列表", "priority": "P0", "status": "skipped", "reason": "需要teacher角色,admin无权限", "screenshot": null },
  47. { "id": "WEB-072", "description": "管理员审核指导师申请", "priority": "P0", "status": "passed", "screenshot": "screenshots/WEB-072-package-audit.png" },
  48. { "id": "WEB-073", "description": "指导师查看套餐内容-初级", "priority": "P0", "status": "skipped", "reason": "需要teacher账号,WEB管理端仅支持admin角色", "screenshot": null },
  49. { "id": "WEB-074", "description": "指导师查看套餐内容-中级", "priority": "P0", "status": "skipped", "reason": "需要teacher账号", "screenshot": null },
  50. { "id": "WEB-075", "description": "指导师查看套餐内容-双培", "priority": "P0", "status": "skipped", "reason": "需要teacher账号", "screenshot": null },
  51. { "id": "WEB-076", "description": "指导师创建测评服务", "priority": "P0", "status": "skipped", "reason": "需要teacher账号", "screenshot": null },
  52. { "id": "WEB-077", "description": "指导师查看已发布服务列表", "priority": "P0", "status": "skipped", "reason": "需要teacher账号", "screenshot": null },
  53. { "id": "WEB-078", "description": "指导师创建绑定服务的任务", "priority": "P0", "status": "skipped", "reason": "需要teacher账号", "screenshot": null },
  54. { "id": "WEB-079", "description": "指导师查看家庭任务", "priority": "P0", "status": "skipped", "reason": "需要teacher账号", "screenshot": null },
  55. { "id": "WEB-080", "description": "家长咨询入口查看", "priority": "P0", "status": "skipped", "reason": "需要teacher角色", "screenshot": null },
  56. { "id": "WEB-081", "description": "管理员查看待审核指导师列表", "priority": "P0", "status": "passed", "screenshot": "screenshots/WEB-072-package-audit.png" },
  57. { "id": "WEB-082", "description": "管理员审核内容完整性校验", "priority": "P1", "status": "passed", "screenshot": "screenshots/WEB-082-operation-logs.png" },
  58. { "id": "WEB-083", "description": "指导师回复家长咨询", "priority": "P0", "status": "skipped", "reason": "需要teacher账号", "screenshot": null },
  59. { "id": "WEB-084", "description": "查看服务与任务绑定关系", "priority": "P1", "status": "skipped", "reason": "需要teacher账号", "screenshot": null },
  60. { "id": "WEB-085", "description": "家长查看指导师服务列表", "priority": "P0", "status": "skipped", "reason": "WEB管理端不支持parent角色", "screenshot": null },
  61. { "id": "WEB-086", "description": "家长购买指导师服务", "priority": "P0", "status": "skipped", "reason": "WEB管理端不支持parent角色", "screenshot": null },
  62. { "id": "WEB-087", "description": "家长选用指导师任务", "priority": "P0", "status": "passed", "screenshot": null }
  63. ],
  64. "findings": {
  65. "permissionIssues": [
  66. "WEB管理端仅支持admin角色登录,指导师和家长账号无法通过WEB管理端登录",
  67. "部分页面(guide-packages, teacher-consult, guide-family-task)需要teacher角色,admin用户被拒绝访问并重定向到dashboard"
  68. ],
  69. "dataStatus": {
  70. "packageAudit": "暂无数据(待审核列表为空)",
  71. "operationLogs": "共703条记录",
  72. "tasks": "共2条任务记录"
  73. }
  74. },
  75. "screenshots": [
  76. "screenshots/WEB-072-package-audit.png",
  77. "screenshots/WEB-082-operation-logs.png"
  78. ]
  79. }