From 4eda2679818e20cfef4b5b3c7fe022cfe4e8a2a0 Mon Sep 17 00:00:00 2001 From: Saoud Rizwan <7799382+saoudrizwan@users.noreply.github.com> Date: Thu, 11 Dec 2025 03:21:26 +0900 Subject: [PATCH] fix(e2e): update auth test to handle Santa Cline logo with multiple paths The Santa Cline logo has 3 path elements, causing strict mode violation. Select the container instead of a specific path element. --- src/test/e2e/auth.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/e2e/auth.test.ts b/src/test/e2e/auth.test.ts index a24dbdf9..57f5602e 100644 --- a/src/test/e2e/auth.test.ts +++ b/src/test/e2e/auth.test.ts @@ -51,8 +51,8 @@ e2e("Views - can set up API keys and navigate to Settings from Chat", async ({ s await expect(dialog).not.toBeVisible() // Verify you are now in the chat page after setup was completed and the dialog was closed. - // cline logo has the name "clline-logo" - const clineLogo = sidebar.locator(".size-20 > path") + // cline logo container + const clineLogo = sidebar.locator(".size-20") await expect(clineLogo).toBeVisible() const chatInputBox = sidebar.getByTestId("chat-input") await expect(chatInputBox).toBeVisible()