From a2c84d3ce81f49c2b39a41c14b69c4b3d0712005 Mon Sep 17 00:00:00 2001 From: lucaronin Date: Sun, 12 Apr 2026 13:20:26 +0200 Subject: [PATCH] test: align AI smoke selector with inline input --- tests/smoke/fix-ai-chat-empty-body-v3.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/smoke/fix-ai-chat-empty-body-v3.spec.ts b/tests/smoke/fix-ai-chat-empty-body-v3.spec.ts index 185e2fda..4b1cf83f 100644 --- a/tests/smoke/fix-ai-chat-empty-body-v3.spec.ts +++ b/tests/smoke/fix-ai-chat-empty-body-v3.spec.ts @@ -21,7 +21,7 @@ test.describe('AI chat empty body fix — no regression', () => { await expect(page.getByTestId('ai-panel')).toBeVisible({ timeout: 3000 }) // Send a message - const input = page.locator('input[placeholder*="Ask"]') + const input = page.getByTestId('agent-input') await expect(input).toBeVisible() await input.fill('What does this note contain?') await page.getByTestId('agent-send').click()