Skip to content

armgit / fuobe

Public Imported from GitHub
0

The open creative studio on ComfyUI: images, video, 3D and audio on open weights, on your own GPU or the cloud. Camera motions, effects, apps, Cinema, Layers, Image to 3D and an AI agent.

Notifications test: "Send a test" by its exact name

Claudecc84cb66126f
diff --git a/tests/e2e/notifications.mjs b/tests/e2e/notifications.mjs
index e11ee373..cbd2d591 100644
--- a/tests/e2e/notifications.mjs
+++ b/tests/e2e/notifications.mjs
@@ -182,7 +182,8 @@ try {
assert.equal(await toggle.getAttribute("aria-checked"), "false");
await toggle.click();
await page.waitForFunction(() => localStorage.getItem("fuobe.notifications") === "on");
- await page.getByRole("button", { name: "Send a test" }).click();
+ // Exact: a local LLM server's "Send a test message" (AI helper · Claude or a local model) is on the same page too.
+ await page.getByRole("button", { name: "Send a test", exact: true }).click();
assert.equal((await shown(page)).at(-1)?.title, "Notifications are on");
await toggle.click();
await page.waitForFunction(() => localStorage.getItem("fuobe.notifications") === "off");