test: verify mount fallback copy · openclaw/openclaw@13111d8
shakkernerd
·
2026-05-12
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -59,8 +59,8 @@ describe("Control UI mount fallback", () => {
|
59 | 59 | expect(frameWindow.document.body.classList.contains("openclaw-mount-fallback-active")).toBe( |
60 | 60 | true, |
61 | 61 | ); |
62 | | -expect(fallback?.textContent).toContain("Control UI did not start"); |
63 | | -expect(fallback?.textContent).toContain("Control UI troubleshooting"); |
| 62 | +expect(fallback?.querySelector("h1")?.textContent?.trim()).toBe("Control UI did not start"); |
| 63 | +expect(fallback?.querySelector("a")?.textContent?.trim()).toBe("Control UI troubleshooting"); |
64 | 64 | expect(frameWindow.document.activeElement?.classList.contains("mount-fallback__panel")).toBe( |
65 | 65 | true, |
66 | 66 | ); |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。