From 646ef0c78f01a9bb3e6d413e8d59719c758f8dc1 Mon Sep 17 00:00:00 2001 From: Shakker Date: Tue, 12 May 2026 15:23:01 +0100 Subject: [PATCH] test: anchor config hint label --- ui/src/ui/config-form.browser.test.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ui/src/ui/config-form.browser.test.ts b/ui/src/ui/config-form.browser.test.ts index c9283bc83ad..6c1afeed220 100644 --- a/ui/src/ui/config-form.browser.test.ts +++ b/ui/src/ui/config-form.browser.test.ts @@ -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", () => {