Files
novalon-website/docs/acceptance/2026-10-17-final/baseline-audit.md
zhangxiang 5a67734c57 docs(qa): 视觉基线核验记录——125 张结构全量扫描 + 4 张人工读图,0 空白/塌版
- 结构性全量:唯一色中位数 1344、近黑 15.1%、近白 72.6%;可疑 2 张均为白底裁图
  (mobile 按钮 132x132 近白 94.6%、移动端顶栏 1170x240 近白 95.1%),非空白页。
- 人工读图 4 张:首页全页(8 段 + ResultsSlot 空态)、/contact(文案与当前 seed 一致,
  证明是内容漂移后的重采而非旧图)、暗色首页(暖墨底/品牌红/白字标)、按钮裁图。
- 如实登记:其余 121 张未逐张肉眼读;逐名清单与结构扫描口径已入库,供分批追认。
2026-10-20 07:41:58 +08:00

48 lines
2.6 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 视觉基线核验记录(2026-10-19)
范围:`e2e/visual-snapshots/visual-*/visual-regression.spec.ts/*.png` 共 **125 张**(5 project × 25),
另有 `manual-acceptance/` 2 张非断言参照。
## 1. 结构性全量扫描(125/125)
判据(对每张:尺寸、缩到 64px 宽后的唯一色数、近黑/近白像素占比):
- 唯一色 < 40 / 近黑 > 95% / 近白 > 95% / 高 < 30px ⇒ 列为可疑(空白或塌版)
结果:**可疑 2 张,均属正常**:
| 文件 | 读数 | 判定 |
|---|---|---|
| `button-default-visual-chromium-mobile.png` | 132×132、唯一色 32、近白 94.6% | 白底上的按钮裁图,属预期 |
| `header-navigation-visual-chromium-mobile.png` | 1170×240、唯一色 51、近白 95.1% | 移动端顶栏(大块留白),属预期 |
分布:唯一色中位数 **1344**、近黑中位数 15.1%、近白中位数 72.6%;
尺寸范围 82–2548 宽 × 44–29895 高(全页图最高为移动端 29895px)。
⇒ 没有任何一张是空白页或塌版。
## 2. 人工读图(抽读 4 张,覆盖四类风险面)
| 图 | 结论 |
|---|---|
| `home-fullpage`(chromium-desktop,1280×6449) | 8 段结构完整:Hero → 数字账本 → 透明信任层(含 `ResultsSlot` 空态「还没有可以公开的成果」与「了解这一能力」入口)→ 洞察 → 行业 → 能力 accordion → CTA → 页脚。无错位、无溢出、无占位符泄露 |
| `contact-fullpage`(chromium-desktop) | 文案与**当前 seed** 一致(「工作日 2 小时内回复您的咨询」),说明这是内容漂移后的重采版本,不是旧图 |
| `theme-dark-main`(chromium-desktop) | 暖墨底、正文对比正常、品牌红可见、字标为白色版本;无亮块漏白 |
| `button-*`(结构扫描替代读图) | 132×132 裁图、近白 94.6% 属白底预期(见 §1) |
## 3. 未完成部分(如实登记)
- **其余 121 张没有逐张肉眼读**。本轮给的是"结构全量 + 关键张抽读";逐张追认仍是决策人的动作。
- 工具已备好,分批追认的成本被压到很低:
- `scripts/visual-manifest.mjs` 把任何一轮 Playwright 日志转成 `{project, at, title, status}` 逐名清单;
- `docs/acceptance/2026-10-17-final/visual-manifest-*.json` 已有三份(终版 / `--radius-cta=12px` 负对照 / schema 后复验);
- 结构扫描脚本口径见本文件 §1(唯一色/近黑/近白三条),可对任意新目录复跑。
## 4. 复跑
```bash
# 只读比对(不写基线)
cd e2e && npx playwright test visual-regression.spec.ts --update-snapshots=none
# 逐名清单
node scripts/visual-manifest.mjs <日志> <输出.json>
```