test: align AI smoke selector with inline input

This commit is contained in:
lucaronin
2026-04-12 13:20:26 +02:00
parent afbea1367c
commit a2c84d3ce8

View File

@@ -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()