从最新 CI 运行下载并提交截图基线,快速更新组件视觉测试结果。
复制安装指令,让 AI 自动完成配置 · 推荐新手
请帮我安装 askskill 上的 "update-screenshots" 技能: 1. 下载 https://raw.githubusercontent.com/microsoft/vscode/main/.github/skills/update-screenshots/SKILL.md 2. 保存为 ~/.claude/skills/update-screenshots/SKILL.md 3. 装好后重载技能,告诉我可以用了
请运行 update-screenshots,从最新 CI 下载截图基线并提交到当前分支,用于接受这次组件截图测试差异。
已从最新 CI 获取截图基线并生成提交,当前分支中的截图测试基线已更新。
GitHub Action 的 screenshot-test 报告有差异,请用 update-screenshots 刷新最新截图基线并提交。
失败对应的截图基线被刷新并提交,可重新触发或通过后续校验。
把最新 CI 运行中的组件截图基线同步到本地仓库并提交,保持仓库基线与 CI 结果一致。
仓库中的截图基线与最新 CI 结果保持一致,并附带可追踪的提交记录。
Screenshot baselines are no longer stored in the repository. They are managed by an external screenshot service (hediet-screenshots.azurewebsites.net). The CI workflow uploads screenshots to this service and diffs them automatically.
When the Checking Component Screenshots GitHub Action detects changes, it posts a PR comment with before/after comparisons. No manual baseline updates are needed — the screenshots on the main branch commit become the new baselines automatically after merge.
test/componentFixtures/.screenshots/baseline/.screenshots artifact from the CI run for the raw captured images:gh run download <run-id> --name screenshots --dir .tmp/screenshots
帮助开发者验证 Azure DevOps 流水线改动,快速排查构建与 YAML 配置问题。
抓取任意公开网址截图并返回页面元数据,便于预览、测试与归档