| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879 |
- {
- "reportId": "test-report-guide-20260503",
- "reportTime": "2026-05-03T19:20:00",
- "testEnvironment": {
- "backendUrl": "http://192.168.16.18:8080",
- "webUrl": "http://192.168.16.18:8082",
- "testAccounts": {
- "admin": { "username": "admin", "password": "admin123" }
- }
- },
- "summary": {
- "totalTests": 40,
- "apiTests": 23,
- "webTests": 17,
- "passed": 4,
- "failed": 0,
- "pending": 33,
- "skipped": 3
- },
- "apiTestCases": [
- { "id": "API-020", "module": "套餐", "description": "查看指导师套餐列表", "priority": "P0", "status": "pending" },
- { "id": "API-021", "module": "套餐", "description": "购买初级指导师套餐", "priority": "P0", "status": "pending" },
- { "id": "API-022", "module": "套餐", "description": "购买中级指导师套餐", "priority": "P0", "status": "pending" },
- { "id": "API-023", "module": "套餐", "description": "购买双培指导师套餐", "priority": "P0", "status": "pending" },
- { "id": "API-024", "module": "套餐", "description": "查看套餐购买记录", "priority": "P1", "status": "pending" },
- { "id": "API-025", "module": "服务", "description": "指导师创建测评服务", "priority": "P0", "status": "pending" },
- { "id": "API-026", "module": "服务", "description": "指导师创建自定义服务", "priority": "P0", "status": "pending" },
- { "id": "API-027", "module": "服务", "description": "指导师查看已发布服务列表", "priority": "P0", "status": "pending" },
- { "id": "API-028", "module": "服务", "description": "指导师编辑服务", "priority": "P1", "status": "pending" },
- { "id": "API-029", "module": "服务", "description": "指导师删除服务", "priority": "P1", "status": "pending" },
- { "id": "API-030", "module": "服务", "description": "家长购买指导师服务", "priority": "P0", "status": "pending" },
- { "id": "API-031", "module": "服务", "description": "查看服务购买记录", "priority": "P1", "status": "pending" },
- { "id": "API-032", "module": "任务", "description": "指导师创建绑定服务的任务", "priority": "P0", "status": "pending" },
- { "id": "API-033", "module": "任务", "description": "指导师查看已创建任务", "priority": "P0", "status": "pending" },
- { "id": "API-034", "module": "任务", "description": "家长选用指导师任务", "priority": "P0", "status": "pending" },
- { "id": "API-035", "module": "任务", "description": "查看任务服务绑定关系", "priority": "P1", "status": "pending" },
- { "id": "API-036", "module": "审核", "description": "管理员查看待审核指导师列表", "priority": "P0", "status": "pending" },
- { "id": "API-037", "module": "审核", "description": "管理员审核指导师申请", "priority": "P0", "status": "pending" },
- { "id": "API-038", "module": "审核", "description": "管理员审核内容完整性校验", "priority": "P1", "status": "pending" },
- { "id": "API-039", "module": "咨询", "description": "家长发送咨询留言", "priority": "P0", "status": "pending" },
- { "id": "API-040", "module": "咨询", "description": "指导师回复咨询", "priority": "P0", "status": "pending" },
- { "id": "API-041", "module": "咨询", "description": "查看咨询历史消息", "priority": "P0", "status": "pending" },
- { "id": "API-042", "module": "咨询", "description": "未读消息计数", "priority": "P1", "status": "pending" }
- ],
- "webTestCases": [
- { "id": "WEB-071", "description": "管理员查看指导师套餐列表", "priority": "P0", "status": "skipped", "reason": "需要teacher角色,admin无权限", "screenshot": null },
- { "id": "WEB-072", "description": "管理员审核指导师申请", "priority": "P0", "status": "passed", "screenshot": "screenshots/WEB-072-package-audit.png" },
- { "id": "WEB-073", "description": "指导师查看套餐内容-初级", "priority": "P0", "status": "skipped", "reason": "需要teacher账号,WEB管理端仅支持admin角色", "screenshot": null },
- { "id": "WEB-074", "description": "指导师查看套餐内容-中级", "priority": "P0", "status": "skipped", "reason": "需要teacher账号", "screenshot": null },
- { "id": "WEB-075", "description": "指导师查看套餐内容-双培", "priority": "P0", "status": "skipped", "reason": "需要teacher账号", "screenshot": null },
- { "id": "WEB-076", "description": "指导师创建测评服务", "priority": "P0", "status": "skipped", "reason": "需要teacher账号", "screenshot": null },
- { "id": "WEB-077", "description": "指导师查看已发布服务列表", "priority": "P0", "status": "skipped", "reason": "需要teacher账号", "screenshot": null },
- { "id": "WEB-078", "description": "指导师创建绑定服务的任务", "priority": "P0", "status": "skipped", "reason": "需要teacher账号", "screenshot": null },
- { "id": "WEB-079", "description": "指导师查看家庭任务", "priority": "P0", "status": "skipped", "reason": "需要teacher账号", "screenshot": null },
- { "id": "WEB-080", "description": "家长咨询入口查看", "priority": "P0", "status": "skipped", "reason": "需要teacher角色", "screenshot": null },
- { "id": "WEB-081", "description": "管理员查看待审核指导师列表", "priority": "P0", "status": "passed", "screenshot": "screenshots/WEB-072-package-audit.png" },
- { "id": "WEB-082", "description": "管理员审核内容完整性校验", "priority": "P1", "status": "passed", "screenshot": "screenshots/WEB-082-operation-logs.png" },
- { "id": "WEB-083", "description": "指导师回复家长咨询", "priority": "P0", "status": "skipped", "reason": "需要teacher账号", "screenshot": null },
- { "id": "WEB-084", "description": "查看服务与任务绑定关系", "priority": "P1", "status": "skipped", "reason": "需要teacher账号", "screenshot": null },
- { "id": "WEB-085", "description": "家长查看指导师服务列表", "priority": "P0", "status": "skipped", "reason": "WEB管理端不支持parent角色", "screenshot": null },
- { "id": "WEB-086", "description": "家长购买指导师服务", "priority": "P0", "status": "skipped", "reason": "WEB管理端不支持parent角色", "screenshot": null },
- { "id": "WEB-087", "description": "家长选用指导师任务", "priority": "P0", "status": "passed", "screenshot": null }
- ],
- "findings": {
- "permissionIssues": [
- "WEB管理端仅支持admin角色登录,指导师和家长账号无法通过WEB管理端登录",
- "部分页面(guide-packages, teacher-consult, guide-family-task)需要teacher角色,admin用户被拒绝访问并重定向到dashboard"
- ],
- "dataStatus": {
- "packageAudit": "暂无数据(待审核列表为空)",
- "operationLogs": "共703条记录",
- "tasks": "共2条任务记录"
- }
- },
- "screenshots": [
- "screenshots/WEB-072-package-audit.png",
- "screenshots/WEB-082-operation-logs.png"
- ]
- }
|