mirror of
https://github.com/mudler/LocalAI.git
synced 2026-09-12 22:33:54 -04:00
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 <mudler@localai.io>
This commit is contained in:
1 parent
919b5c96fa
commit
1bcbff586b
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user