fix(qa): remove personal capture CA path · openclaw/openclaw@78d1b4a
vincentkoc
·
2026-06-20
·
via Recent Commits to openclaw:main
File tree
extensions/qa-lab/web/src
| Original file line number | Diff line number | Diff line change |
|---|
@@ -84,6 +84,13 @@ function evidenceState(overrides: Partial<UiState> = {}): UiState {
|
84 | 84 | } |
85 | 85 | |
86 | 86 | describe("QA Lab UI evidence render", () => { |
| 87 | +it("renders capture startup commands without personal home paths", () => { |
| 88 | +const html = renderQaLabUi(evidenceState({ activeTab: "capture" })); |
| 89 | + |
| 90 | +expect(html).toContain("$HOME/.openclaw/debug-proxy/certs/root-ca.pem"); |
| 91 | +expect(html).not.toContain("/Users/"); |
| 92 | +}); |
| 93 | + |
87 | 94 | it("maps blocked and skipped evidence statuses to styled tones", () => { |
88 | 95 | const html = renderQaLabUi( |
89 | 96 | evidenceState({ |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -934,7 +934,7 @@ pnpm openclaw gateway --port 18789 --bind loopback`;
|
934 | 934 | const qaStart = "pnpm qa:lab:ui --port 43124 --control-ui-url http://127.0.0.1:18789/"; |
935 | 935 | const caInstall = "pnpm proxy:install-ca"; |
936 | 936 | const caTrust = |
937 | | -"sudo security add-trusted-cert -d -r trustRoot -k /Library/Keychains/System.keychain /Users/thoffman/.openclaw/debug-proxy/certs/root-ca.pem"; |
| 937 | +'sudo security add-trusted-cert -d -r trustRoot -k /Library/Keychains/System.keychain "$HOME/.openclaw/debug-proxy/certs/root-ca.pem"'; |
938 | 938 | return `<div class="capture-startup-state"> |
939 | 939 | <div class="capture-startup-title">Proxy capture is not running yet.</div> |
940 | 940 | <div class="text-dimmed text-sm capture-startup-copy"> |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。