From 25ff22f85fe61d5736cbe90bce00297a6e713c15 Mon Sep 17 00:00:00 2001 From: igorsatsyuk Date: Wed, 22 Jul 2026 17:56:46 +0300 Subject: [PATCH] fix(test): add missing assertion to handleLogin tolerates missing error element test Resolves SonarQube blocker: test had no assertions. --- frontend/test/app.test.js | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/test/app.test.js b/frontend/test/app.test.js index b1a072d..04a0cb0 100644 --- a/frontend/test/app.test.js +++ b/frontend/test/app.test.js @@ -870,6 +870,7 @@ test("handleLogin tolerates missing optional auth error element", async () => { values: { username: "", password: "" } } }); + assert.equal(elements["[data-app-shell]"].hidden, true); } finally { globalThis.FormData = originalFormData; }