results.json 3.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. [
  2. {
  3. "id": "A1-entry",
  4. "desc": "/cockpit 可打开并渲染外壳",
  5. "pass": true,
  6. "evidence": "entry=http://localhost:8000/#/cockpit"
  7. },
  8. {
  9. "id": "A2-structure",
  10. "desc": "顶栏、左栏、右栏、中央地图占位同时出现且各一份",
  11. "pass": true,
  12. "evidence": "{\"brand\":\"城市生命线驾驶舱\",\"topbar\":true,\"shells\":1,\"left\":1,\"right\":1,\"maps\":1,\"mapTitle\":\"中央一张图占位\",\"panels\":4}"
  13. },
  14. {
  15. "id": "A3-mode-buttons",
  16. "desc": "顶栏四个一级模式可切且文案正确",
  17. "pass": true,
  18. "evidence": "[\"总体概览\",\"基础设施\",\"运行监测\",\"预警处置\"]"
  19. },
  20. {
  21. "id": "A4-default-mode",
  22. "desc": "默认模式为 overview,高亮与 aria-pressed 同步",
  23. "pass": true,
  24. "evidence": "{\"count\":1,\"text\":\"总体概览\",\"hasClass\":true,\"meta\":\"只读视图 · 当前模式 overview\",\"href\":\"http://localhost:8000/#/cockpit\",\"historyLength\":2}"
  25. },
  26. {
  27. "id": "A5-overview",
  28. "desc": "总体概览:左右各 2 块,panelId 与中文标题按 ADR 0003",
  29. "pass": true,
  30. "evidence": "left=[{\"id\":\"situationSummary\",\"label\":\"态势总览\"},{\"id\":\"infrastructureSummary\",\"label\":\"基础设施\"}] right=[{\"id\":\"monitoringSummary\",\"label\":\"运行监测\"},{\"id\":\"alertSettings\",\"label\":\"预警设置\"}]"
  31. },
  32. {
  33. "id": "A5-infrastructure",
  34. "desc": "基础设施:左右各 2 块,panelId 与中文标题按 ADR 0003",
  35. "pass": true,
  36. "evidence": "left=[{\"id\":\"archive\",\"label\":\"基础档案\"},{\"id\":\"operation\",\"label\":\"运行信息\"}] right=[{\"id\":\"management\",\"label\":\"管理信息\"},{\"id\":\"emergency\",\"label\":\"应急保障\"}]"
  37. },
  38. {
  39. "id": "A5-monitoring",
  40. "desc": "运行监测:左右各 2 块,panelId 与中文标题按 ADR 0003",
  41. "pass": true,
  42. "evidence": "left=[{\"id\":\"monitoringOverview\",\"label\":\"监测概览\"},{\"id\":\"monitoringDistribution\",\"label\":\"监测分布\"}] right=[{\"id\":\"operationOverview\",\"label\":\"运行概况\"},{\"id\":\"monitoringPointLedger\",\"label\":\"监测点台账\"}]"
  43. },
  44. {
  45. "id": "A5-warningResponse",
  46. "desc": "预警处置:左右各 2 块,panelId 与中文标题按 ADR 0003",
  47. "pass": true,
  48. "evidence": "left=[{\"id\":\"currentEvents\",\"label\":\"当前预警\"},{\"id\":\"historyAnalysis\",\"label\":\"历史分析\"}] right=[{\"id\":\"responseEfficiency\",\"label\":\"预警效率\"},{\"id\":\"eventAnalysis\",\"label\":\"预警分析\"}]"
  49. },
  50. {
  51. "id": "A6-no-route-change",
  52. "desc": "切换四个一级模式不新增路由(URL 与 history 长度不变)",
  53. "pass": true,
  54. "evidence": "href=http://localhost:8000/#/cockpit history=2 (初始 2)"
  55. },
  56. {
  57. "id": "A7-persistent-nodes",
  58. "desc": "外壳与中央地图占位未被重建(DOM 实例标记存活)",
  59. "pass": true,
  60. "evidence": "shell=shell-instance map=map-instance inner=map-inner mapCount=1"
  61. },
  62. {
  63. "id": "A8-toggle",
  64. "desc": "点面板标题栏可收起并再展开(aria-expanded / 符号 / 正文显隐同步)",
  65. "pass": true,
  66. "evidence": "before={\"expanded\":\"true\",\"mark\":\"−\",\"bodyHidden\":false} collapsed={\"expanded\":\"false\",\"mark\":\"+\",\"bodyHidden\":true,\"isCollapsedClass\":true} re={\"expanded\":\"true\",\"mark\":\"−\",\"bodyHidden\":false}"
  67. },
  68. {
  69. "id": "A9-reset-on-mode-switch",
  70. "desc": "切换一级模式后全部面板恢复默认展开",
  71. "pass": true,
  72. "evidence": "[\"true\",\"true\",\"true\",\"true\"]"
  73. },
  74. {
  75. "id": "A10-no-filter-reset",
  76. "desc": "切换一级模式不重置全局筛选(机制核实:uiStore 只持 mode/expandedPanelIds,仓库尚无 filterStore)",
  77. "pass": true,
  78. "evidence": "uiStore.js:24-30 只写 mode 与 expandedPanelIds;无筛选状态可被重置"
  79. },
  80. {
  81. "id": "A11-no-page-errors",
  82. "desc": "走查期间无页面级报错",
  83. "pass": true,
  84. "evidence": "[]"
  85. }
  86. ]