test: 合并后整批重建视觉基线(#36 导航新组上站,5 张 design 页基线过期) #38

Merged
arnold.cui merged 1 commits from chore/visual-baselines-rebuild into main 2026-11-07 04:05:01 +00:00
Owner

背景

PR #36 的导航二级组「技能熟悉」上站后,全站顶栏长高一档——5 张 design 页的视觉基线是整页截图,内容整体下移,main 上的旧基线全数过期(CI 不跑 e2e,合入时未暴露)。按 docs/contributing/pr.md 的合并后重建约定,在 main 内容上整批重建基线。

变更内容

  • apps/tutorial/e2e/visual.spec.ts-snapshots/ 五张 PNG(design / design-colors / design-symbols / design-components / design-shadow)以 npx playwright test e2e/visual.spec.ts --update-snapshots=all 重新生成;用 all 模式防 1% 容差静默吞漂移
  • 无源码改动,纯基线 PNG 更新

自测结果

  • 重建后裸跑 npx playwright test e2e/visual.spec.ts:5/5 绿
  • 纯基线 PNG 改动;CI:run 492(CI / check (pull_request))success
## 背景 PR #36 的导航二级组「技能熟悉」上站后,全站顶栏长高一档——5 张 design 页的视觉基线是整页截图,内容整体下移,main 上的旧基线全数过期(CI 不跑 e2e,合入时未暴露)。按 docs/contributing/pr.md 的合并后重建约定,在 main 内容上整批重建基线。 ## 变更内容 - apps/tutorial/e2e/visual.spec.ts-snapshots/ 五张 PNG(design / design-colors / design-symbols / design-components / design-shadow)以 `npx playwright test e2e/visual.spec.ts --update-snapshots=all` 重新生成;用 all 模式防 1% 容差静默吞漂移 - 无源码改动,纯基线 PNG 更新 ## 自测结果 - 重建后裸跑 `npx playwright test e2e/visual.spec.ts`:5/5 绿 - 纯基线 PNG 改动;CI:run 492(CI / check (pull_request))success
arnold.cui added 1 commit 2026-11-07 03:43:30 +00:00
arnold.cui merged commit 2be8dc6578 into main 2026-11-07 04:05:01 +00:00
arnold.cui deleted branch chore/visual-baselines-rebuild 2026-11-07 04:05:01 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: idealjs/stack#38