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.
This commit is contained in:
Saoud Rizwan committed 2025-12-11 03:21:26 +09:00
1 parent 3441363805
commit 4eda267981
1 file changed
+2 -2
+2 -2
View File
@@ -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()