test: arrange config tabs · openclaw/openclaw@ddfa97e
shakkernerd
·
2026-05-13
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -341,9 +341,7 @@ describe("config view", () => {
|
341 | 341 | const tabs = Array.from(container.querySelectorAll(".config-top-tabs__tab")).map((tab) => |
342 | 342 | tab.textContent?.trim(), |
343 | 343 | ); |
344 | | -expect(tabs).toContain("Settings"); |
345 | | -expect(tabs).toContain("Agents"); |
346 | | -expect(tabs).toContain("Gateway"); |
| 344 | +expect(tabs).toEqual(["Settings", "Agents", "Gateway", "Theme"]); |
347 | 345 | |
348 | 346 | const btn = findButtonByText(container, "Gateway"); |
349 | 347 | btn.click(); |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。