docs: 收尾轮文档同步(§20 / §5.68–5.69 / §13 / test:all 口径)
- qa-tracker §20:本轮 OPEN-12/14/15 的判定方法与一手读数,含
OPEN-14 的 stash 逐项比对结果(7 个文件 0 缺失 = stash 是旧形态;
6 处仍成立已移植;3 处属 feature/gitea-branding 与运维线不代改)。
- lessons §5.68:自证夹具里的路径是「第二份事实」,改名即漂移,
且红得像判据坏了;恒红的自证闸比没有更坏,必须当 P0 修。
- lessons §5.69:改了默认值必须同时改所有断言它的地方 —— e2e 与单测
是两套断言,而只在 test:e2e:prod 下执行的用例,本地全绿看不见它的红。
- quality-gates §13:视觉 15→35 页 / 225 例 / 227 张、headings 11→34 页、
axe settle 修复、TA-11/12 的用例侧收口、GA consent 断言口径。
- testing.md:settle 与 headings 分母扩容的可复算口径。
- CLAUDE.md / AGENTS.md:test:all 的实际命令列表补上 check:package-keys /
type-check:e2e / check:visual 三项。此前的漏记让「test:all 全绿」在
check:visual 恒红期间无法被核对 —— 文档记的不是命令的全部,就没有判定力。
- .gitignore:补 2026-10-24 visual/*.png、2026-10-22-gitea-branding、
infra/cicd/gitea{,-custom} 三组,逐条写明归属。
- axe-evidence.json:本轮复跑刷新 latest 指针(35 路由 × 4 组合全 0)。
This commit is contained in:
1 parent
763e159ac4
commit
8d84dca928
4 files changed
+18
-4
No files matched your search
@@ -96,7 +96,7 @@ npm run check:axe # 双引擎(chromium/firefox)×双主题(light/da
|
||||
# docs/acceptance/2026-09-21-axe/axe-evidence.json。需一个生产服务在 :3100:
|
||||
# PORT=3100 HOSTNAME=127.0.0.1 node dist/standalone/server.js(先拷 dist/static 与 public,见上文)
|
||||
# CI 侧由 Jenkinsfile「♿♿ 全站 axe 节点计数」阶段(仅 main)自动串起
|
||||
npm run test:all # type-check + lint + test:coverage + test:integration:real + check:a11y + test:e2e:fast + test:security:headers
|
||||
npm run test:all # type-check + check:package-keys + type-check:e2e + lint + test:coverage + test:integration:real + check:a11y + check:visual + test:e2e:fast + test:security:headers
|
||||
npm run test:e2e:prod # E2E_TARGET=production(构建产物目标);harness **不代跑构建**,须先 `npm run build`
|
||||
# (standalone 根目录的 dist/static + public 由 postbuild 自动装配,见上文)
|
||||
npm run lighthouse # Lighthouse CI(配置 config/test/lighthouserc.json;axe critical/serious 逐条 minScore:1;inspector-issues 亦判红——CSP/弃用类问题只走 DevTools issue 通道,errors-in-console 与 0.9 分类阈值都看不见它;报告落 lighthouse-reports/)
|
||||
|
||||
Reference in new issue
Block a user