diff --git a/internal/gui/tests/provider-find.test.cjs b/internal/gui/tests/provider-find.test.cjs index 8801be80d..bf24f7918 100644 --- a/internal/gui/tests/provider-find.test.cjs +++ b/internal/gui/tests/provider-find.test.cjs @@ -52,7 +52,8 @@ function fixture(lang) { providers.providers = order.map((id) => providers.providers.find((p) => p.id === id)); return json(providers); } - if (request.method() !== "GET") posted.push(url.pathname); + // the window saying it is in use (update/using) is not the page's doing + if (request.method() !== "GET" && url.pathname !== "/api/update/using") posted.push(url.pathname); if (url.pathname === "/api/providers") return json(providers); if (url.pathname === "/api/groups") return json({ groups: [] }); if (url.pathname === "/api/plugins") return json({ plugins: [] });