Files
Agent-System/.doc/audit/2026-09-13-document-revision-pending-report-selection.md
T
WeiCHEN 4baa1220ee docs(ops): close docrev UI audits after main+post-restart PASS
Record real Playwright ledgers, mark 20 audits and 9 remediations done, and leave management-implementation-plan as plan-only.
2026-09-23 04:00:49 +08:00

3.0 KiB
Raw Blame History

title, status, created, updated, severity
title status created updated severity
UI-05a 未打开待确认报告导致确认按钮缺失 done 2026-09-13 2026-09-22 high

UI-05a 未打开待确认报告导致确认按钮缺失

W3 UI-rerun 关闭(2026-09-22):status=done。真实 Playwright 账本 PASS:ui-acceptance-results.json(main UI-00..16)+ ui-acceptance-results-post-restart.json(UI-15)。任务 tip 已合入本地 dev;详见 short-term 与 测试报告。

现象

第四轮真实 UI(schema 30)UI-05a 首个失败:

  • UI-00~05 PASS;UI-05a 抛 confirm button missing for pending high-risk candidate
  • 工具条已显示「待确认 high」与「待确认报告」
  • 助手气泡写明候选 #91、变更报告 91、风险 high、状态 pending_author_confirmation
  • 页面仍挂着 首轮 dialog「变更报告」:风险 low / fallback,无 change-report-pending-actions,无「确认提交」
  • 脚本用全局 getByRole('button', { name: /确认提交/ }).count() 判定,未先点「待确认报告」

项目 UI验收-超声微创系统-mu00igjt,文档 doc_proj6119_intake,首轮报告 change-reports/90,pending 候选/报告 #91。

根因分析

层 问题
UI-04 关闭 ChangeReportPanel 只有弹窗内「关闭」;没有 Escape 处理。page.keyboard.press('Escape') 被 .catch 吞掉,首轮 low 报告 reportId 仍打开
产品条件 pendingDecision(确认/拒绝)仅当 reportId === pending_change_report_id 才注入。首轮报告 90 ≠ pending 91,弹窗里不会出现「确认提交」
UI-05a 未模拟真实用户点击「待确认报告」并等待 change-report-panel;只用全局 count,错过必须打开 pending 报告的路径

产品确认/拒绝逻辑本身未坏;失败来自验收脚本未走真实面板路径。本轮禁止改产品业务逻辑。

严重度

high

关联整改

证据

  • Evidence root(勿删、勿提交本轮):.doc/test-reports/assets/2026-09-13-document-revision-runtime-ui/schema30-ui05a-pending-report-selection-failure
  • Playwright:playwright-output/document-revision-runtime--91599-andidate-→-version-advances-chromium/error-context.md
  • 结果:ui-acceptance-results.json(UI-04 PASS 131ms,打开 /change-reports/90;UI-05 PASS;UI-05a 未写入 PASS)

开放问题

  • 占槽后真实 UI-05a/05b 重跑;本轮不操作容器、不重跑 E2E
  • 脚本收紧后状态仍为 in_progress,真实重跑前不得 done