mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-18 17:44:45 +00:00
test: anchor config hint label
This commit is contained in:
@@ -223,7 +223,11 @@ describe("config form renderer", () => {
|
||||
container,
|
||||
);
|
||||
|
||||
expect(container.textContent).toContain("Plugin Enabled");
|
||||
const label = expectElement(
|
||||
container.querySelector(".cfg-toggle-row__label"),
|
||||
"plugin enabled label",
|
||||
);
|
||||
expect(label.textContent?.trim()).toBe("Plugin Enabled");
|
||||
});
|
||||
|
||||
it("renders tags from uiHints metadata", () => {
|
||||
|
||||
Reference in New Issue
Block a user