Files
deepseek-harness/apps/web/tests/expected/plugin-install-silent-failure/failed.expected.md
T
_Kerman 8c87f5b042 test(web): cover the install failure diagnostics in the browser
A silent package-manager run and a failed GitHub connection check now
each show what failed in the dialog's details instead of an empty panel.
The GitHub case configures no fallback registry so the plain failed
screen renders, and the silent case stands Node in for pnpm so the run
prints nothing. Both scenarios and the new golden are registered in the
client and host TypeScript aggregates.
2026-10-28 14:18:49 +08:00

625 B

  • dialog "插件安装失败":
    • button "返回编辑": 编辑
    • button "关闭"
    • alert: 插件安装失败
    • paragraph: 安装命令失败,原因见安装详情
    • paragraph: silent-package
    • paragraph: 版本 1.0.0
    • button "收起安装详情" [expanded]
    • button "重试"
    • paragraph: 安装位置:{{cwd}}/.dsh-home/profiles/scaffold
    • text: 失败 $ pnpm add silent-package 退出码 1
    • button "复制"
    • text: "Command failed with exit code 1: {{node}} add silent-package"
    • paragraph: 完整日志:{{cwd}}/.dsh-home/profiles/scaffold/.plugin-manager/logs/operation-{{suffix}}/pnpm.log