From 1bcbff586beb2e91fd5ddfdcd966d9e882f68262 Mon Sep 17 00:00:00 2001 From: Ettore Di Giacinto Date: Thu, 20 Aug 2026 03:04:37 +0000 Subject: [PATCH] fix(ui): target the TTS input in history tests TTS instructions add a second textarea to the page. Target the speech input by its placeholder so the history test does not depend on the page having one textarea. Assisted-by: Codex:gpt-5 Signed-off-by: Ettore Di Giacinto --- core/http/react-ui/e2e/media-history.spec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/http/react-ui/e2e/media-history.spec.js b/core/http/react-ui/e2e/media-history.spec.js index 7575388f7..ce3c9520c 100644 --- a/core/http/react-ui/e2e/media-history.spec.js +++ b/core/http/react-ui/e2e/media-history.spec.js @@ -204,7 +204,7 @@ test.describe('Media History - TTS', () => { await page.goto('/app/tts') await expect(page.getByRole('button', { name: 'test-tts-model' })).toBeVisible({ timeout: 10_000 }) - await page.locator('.textarea').fill('hello world') + await page.getByPlaceholder('Enter text to synthesize...').fill('hello world') await page.locator('button[type="submit"]').click() // History entry should appear