mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-25 12:23:03 +00:00
test: arrange config tabs
This commit is contained in:
@@ -341,9 +341,7 @@ describe("config view", () => {
|
||||
const tabs = Array.from(container.querySelectorAll(".config-top-tabs__tab")).map((tab) =>
|
||||
tab.textContent?.trim(),
|
||||
);
|
||||
expect(tabs).toContain("Settings");
|
||||
expect(tabs).toContain("Agents");
|
||||
expect(tabs).toContain("Gateway");
|
||||
expect(tabs).toEqual(["Settings", "Agents", "Gateway", "Theme"]);
|
||||
|
||||
const btn = findButtonByText(container, "Gateway");
|
||||
btn.click();
|
||||
|
||||
Reference in New Issue
Block a user