43 行
1.7 KiB
Markdown
43 行
1.7 KiB
Markdown
# R96 UI 精简视觉回归报告
|
|
|
|
日期:2026-05-06
|
|
|
|
## 范围
|
|
|
|
- 登录页极简化
|
|
- 桌面应用壳层与 Portal 首页文案降噪
|
|
- 移动首页任务化
|
|
- 移动审批与票据上传关键路径
|
|
- 票据中心、报销详情、审批详情的说明文字收敛
|
|
- 管理页术语降噪
|
|
|
|
## 自动化验证
|
|
|
|
| 验证项 | 命令 | 结果 |
|
|
| --- | --- | --- |
|
|
| Issue CSV 校验 | `python3 /home/shunli/.codex/skills/plan/scripts/validate_issues_csv.py issues/2026-05-06_16-24-02-r96-ui-simplification.csv` | PASS |
|
|
| TypeScript | `cd client && npm run typecheck` | PASS |
|
|
| 生产构建 | `cd client && npm run build` | PASS |
|
|
| 移动入口与关键路径 | `cd client && E2E_BASE_URL=http://127.0.0.1:5177 npx playwright test tests/e2e/r89-mobile-login-navigation.spec.ts --workers=1 --reporter=list` | PASS,3/3 |
|
|
| 手机票据与报销可用性 | `cd client && E2E_BASE_URL=http://127.0.0.1:5177 npx playwright test tests/e2e/r92-mobile-invoice-usability.spec.ts --workers=1 --reporter=list` | PASS,3/3 |
|
|
| 视觉壳层基线 | `cd client && E2E_BASE_URL=http://127.0.0.1:5177 npx playwright test tests/e2e/visual-shell.spec.ts --workers=1 --reporter=list` | PASS,3/3 |
|
|
| Diff 空白检查 | `git diff --check` | PASS |
|
|
|
|
## 视觉证据
|
|
|
|
Playwright 附件已覆盖:
|
|
|
|
- `r96-wecom-login.png`
|
|
- `r96-mobile-today.png`
|
|
- `r96-mobile-approvals.png`
|
|
- `r96-mobile-capture.png`
|
|
- `login-shell.png`
|
|
- `app-shell.png`
|
|
- `mobile-today.png`
|
|
|
|
截图附件保存在本地 `client/test-results/`,该目录为测试产物目录,不纳入 git。
|
|
|
|
## 结论
|
|
|
|
本轮 UI 精简没有改认证、审批、OCR、报销状态机或后端 API。自动化结果显示登录、移动首页、移动审批、票据上传和手机票据/报销关键路径均可用。
|