test: bind tool catalog warning · openclaw/openclaw@4a5009f
shakkernerd
·
2026-05-12
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -127,7 +127,9 @@ describe("agents tools panel (browser)", () => {
|
127 | 127 | ); |
128 | 128 | await Promise.resolve(); |
129 | 129 | |
130 | | -expect(container.textContent ?? "").toContain("Could not load runtime tool catalog"); |
| 130 | +expect(container.querySelector(".callout.info")?.textContent?.trim()).toBe( |
| 131 | +"Could not load runtime tool catalog. Showing built-in fallback list instead.", |
| 132 | +); |
131 | 133 | }); |
132 | 134 | |
133 | 135 | it("closes expanded tool rows when the parent group collapses", async () => { |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。