docs(qa): 登记装配后产物上的 Lighthouse 读数(11 URL × 3 跑、断言 EXIT=0,含两条新增覆盖)
This commit is contained in:
1 parent
d9b70ec2c9
commit
0ae765afcd
1 file changed
+29
@@ -656,3 +656,32 @@ D-2 的回归守卫:`solution-detail-content-v3.test.tsx` 新增断言,且**
|
||||
该轮原件的结论在 `docs/acceptance/2026-09-21-gates/` 与 §8/§9 里可回溯。
|
||||
⇒ 这是一条**仪器设计缺陷**:证据文件名应当带运行时间戳或按轮次分目录,
|
||||
否则每跑一次就在覆盖一次历史。登记为待办(改输出路径属独立小改动,本批不夹带)。
|
||||
|
||||
### 11.7 Lighthouse(装配后的 standalone 产物,`npm run lighthouse`)
|
||||
|
||||
**EXIT=0**,断言全过:11 URL × 3 跑 = 33 份报告。逐 URL 取三轮里的最好一轮读数
|
||||
(`lighthouse-reports/`、`.lighthouseci/lhr-*.json` 可复算):
|
||||
|
||||
| URL | perf | a11y | best-practices | SEO | LCP |
|
||||
|---|---|---|---|---|---|
|
||||
| `/` | 99 | 100 | 100 | 100 | 902ms |
|
||||
| `/about` | 99 | 100 | 100 | 100 | 976ms |
|
||||
| `/about/brand` | 99 | 100 | 100 | 100 | 933ms |
|
||||
| `/cases` | 99 | 100 | 100 | 100 | 996ms |
|
||||
| `/contact` | 98 | 100 | 100 | 100 | 1101ms |
|
||||
| **`/insights`**(本批新增覆盖) | 99 | 100 | 100 | 100 | 974ms |
|
||||
| `/news` | 99 | 100 | 100 | 100 | 976ms |
|
||||
| `/products` | 99 | 100 | 100 | 100 | 896ms |
|
||||
| `/products/erp-upgrade` | 99 | 100 | 100 | 100 | 896ms |
|
||||
| `/services` | 99 | 100 | 100 | 100 | 895ms |
|
||||
| **`/solutions/manufacturing`**(本批 tracer-bullet 承载页,新增覆盖) | 99 | 100 | 100 | 100 | 895ms |
|
||||
|
||||
口径说明:
|
||||
- 这是**在装配好的产物上**测的(`dist/standalone` 含 `dist/static` + `public`)——
|
||||
§5.34 那类"全站 CSS 404 而 Lighthouse 仍 exit 0 且 perf 99-100"的假绿已被前置排除;
|
||||
同轮 `check:axe` 的 `bgMismatch=0` 是另一侧证据(两条独立仪器指向同一事实)。
|
||||
- 两条新覆盖的 URL 都进来了:`/insights` 是新的一级轴,`/solutions/manufacturing`
|
||||
是本批的 tracer-bullet 详情页。**加进断言集而不测**是没意义的,所以先跑再登记。
|
||||
- 阈值口径未动:`performance ≥ 0.9`、`accessibility/best-practices/seo ≥ 0.9`、
|
||||
`LCP ≤ 3000ms`(`config/test/lighthouserc.json`),本轮实测最低 perf 98(/contact)、
|
||||
最大 LCP 1101ms(/contact),余量分别 8 点与 1899ms。
|
||||
Reference in new issue
Block a user