finding_id: REV-2026-012
priority: P2
area: ci
kind: test-gap
paths:
Summary
Run Playwright browser E2E in CI on supported platforms, including a Windows smoke job.
Evidence
Global review finding REV-2026-012 identified that CI does not install Chromium or run npm run test:e2e, lacks coverage for the core UI flows, and needs a portable Windows startup and artifact setup.
Impact
Web UI startup, analysis, auto-fix preview, and apply-fix regressions can reach users without CI detection, especially on Windows.
Scope
Install browser dependencies, run the required E2E flow, fix portable Windows PORT startup syntax, add at least a Windows smoke job, and upload screenshots/traces on failure.
Out of scope
Web server security behavior itself, which is tracked by the blocking issues above.
Acceptance criteria
- CI 安装 Chromium 并运行
npm run test:e2e
- 覆盖打开 api.yaml、分析、自动修复预览、应用修复
- 修复 Windows PORT 启动语法
- 至少增加 Windows smoke job
- E2E 使用可移植 artifact 路径且失败上传截图/trace
Verification
Run Playwright locally and in each supported CI job, including Windows smoke; assert artifacts are uploaded on failure and the complete flow succeeds.
Rollback
Revert workflow and Playwright configuration changes while retaining the E2E fixtures and documenting unsupported runner constraints.
Dependencies
Blocked by REV-2026-001 (#12) and REV-2026-002 (#13). Do not add automation:ready until both dependencies are completed and design review is complete.
finding_id: REV-2026-012
priority: P2
area: ci
kind: test-gap
paths:
blocked_by:
automation: needs-design
Summary
Run Playwright browser E2E in CI on supported platforms, including a Windows smoke job.
Evidence
Global review finding REV-2026-012 identified that CI does not install Chromium or run
npm run test:e2e, lacks coverage for the core UI flows, and needs a portable Windows startup and artifact setup.Impact
Web UI startup, analysis, auto-fix preview, and apply-fix regressions can reach users without CI detection, especially on Windows.
Scope
Install browser dependencies, run the required E2E flow, fix portable Windows
PORTstartup syntax, add at least a Windows smoke job, and upload screenshots/traces on failure.Out of scope
Web server security behavior itself, which is tracked by the blocking issues above.
Acceptance criteria
npm run test:e2eVerification
Run Playwright locally and in each supported CI job, including Windows smoke; assert artifacts are uploaded on failure and the complete flow succeeds.
Rollback
Revert workflow and Playwright configuration changes while retaining the E2E fixtures and documenting unsupported runner constraints.
Dependencies
Blocked by REV-2026-001 (#12) and REV-2026-002 (#13). Do not add
automation:readyuntil both dependencies are completed and design review is complete.