From 0ae765afcd327095d2a54c3cd73d6419c4ee48ff Mon Sep 17 00:00:00 2001 From: zhangxiang Date: Sat, 17 Oct 2026 02:25:50 +0800 Subject: [PATCH] =?UTF-8?q?docs(qa):=20=E7=99=BB=E8=AE=B0=E8=A3=85?= =?UTF-8?q?=E9=85=8D=E5=90=8E=E4=BA=A7=E7=89=A9=E4=B8=8A=E7=9A=84=20Lighth?= =?UTF-8?q?ouse=20=E8=AF=BB=E6=95=B0=EF=BC=8811=20URL=20=C3=97=203=20?= =?UTF-8?q?=E8=B7=91=E3=80=81=E6=96=AD=E8=A8=80=20EXIT=3D0=EF=BC=8C?= =?UTF-8?q?=E5=90=AB=E4=B8=A4=E6=9D=A1=E6=96=B0=E5=A2=9E=E8=A6=86=E7=9B=96?= =?UTF-8?q?=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/acceptance/qa-tracker.md | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/docs/acceptance/qa-tracker.md b/docs/acceptance/qa-tracker.md index 4b1a3ff..b169287 100644 --- a/docs/acceptance/qa-tracker.md +++ b/docs/acceptance/qa-tracker.md @@ -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。