From cac09cbca36c3a0702163fd16c76b00ecd6a6556 Mon Sep 17 00:00:00 2001 From: Cyrus Gray <144336577+graycyrus@users.noreply.github.com> Date: Tue, 2 Jun 2026 16:30:52 +0530 Subject: [PATCH] test(e2e): update composer selectors for new placeholder + voice button (#3206) --- app/test/e2e/helpers/chat-harness.ts | 4 ++-- app/test/e2e/specs/chat-harness-cancel.spec.ts | 2 +- app/test/e2e/specs/chat-harness-send-stream.spec.ts | 2 +- app/test/e2e/specs/chat-tool-error-recovery.spec.ts | 2 +- app/test/e2e/specs/composio-github-tools-tags.spec.ts | 2 +- .../e2e/specs/conversations-web-channel-flow.spec.ts | 2 +- app/test/e2e/specs/harness-composio-tool-flow.spec.ts | 2 +- app/test/e2e/specs/skill-multi-round.spec.ts | 2 +- app/test/e2e/specs/voice-mode.spec.ts | 10 +++++----- .../playwright/specs/chat-conversation-history.spec.ts | 2 +- app/test/playwright/specs/chat-harness-cancel.spec.ts | 4 ++-- .../specs/chat-harness-scroll-render.spec.ts | 2 +- .../playwright/specs/chat-harness-send-stream.spec.ts | 2 +- .../playwright/specs/chat-harness-subagent.spec.ts | 2 +- .../playwright/specs/chat-harness-wallet-flow.spec.ts | 2 +- .../playwright/specs/chat-multi-tool-round.spec.ts | 2 +- app/test/playwright/specs/chat-tool-call-flow.spec.ts | 2 +- .../playwright/specs/chat-tool-error-recovery.spec.ts | 4 ++-- .../specs/conversations-web-channel-flow.spec.ts | 2 +- .../specs/harness-channel-bridge-flow.spec.ts | 2 +- .../specs/harness-composio-tool-flow.spec.ts | 2 +- .../playwright/specs/harness-cron-prompt-flow.spec.ts | 2 +- .../playwright/specs/harness-search-tool-flow.spec.ts | 2 +- app/test/playwright/specs/skill-multi-round.spec.ts | 2 +- .../playwright/specs/user-journey-full-task.spec.ts | 2 +- app/test/playwright/specs/voice-mode.spec.ts | 6 +++--- 26 files changed, 35 insertions(+), 35 deletions(-) diff --git a/app/test/e2e/helpers/chat-harness.ts b/app/test/e2e/helpers/chat-harness.ts index dc125d0f4..7075b234b 100644 --- a/app/test/e2e/helpers/chat-harness.ts +++ b/app/test/e2e/helpers/chat-harness.ts @@ -6,7 +6,7 @@ * needs: * * - `button[title="New thread"]` — icon-only button, no text - * - `textarea[placeholder="Type a message..."]` — React-controlled + * - `textarea[placeholder="How can I help you today?"]` — React-controlled * input that should be driven through WebDriver so React observes * the same input events a user would produce * - `button[aria-label="Send message"]` — icon-only button @@ -39,7 +39,7 @@ export async function clickByTitle(title: string, timeoutMs = 6_000): Promise { // The textarea must be re-enabled. const composerEnabled = await browser.execute(() => { const ta = document.querySelector( - 'textarea[placeholder="Type a message..."]' + 'textarea[placeholder="How can I help you today?"]' ) as HTMLTextAreaElement | null; return !!ta && !ta.disabled; }); diff --git a/app/test/e2e/specs/chat-harness-send-stream.spec.ts b/app/test/e2e/specs/chat-harness-send-stream.spec.ts index 3275ce528..94837f5d2 100644 --- a/app/test/e2e/specs/chat-harness-send-stream.spec.ts +++ b/app/test/e2e/specs/chat-harness-send-stream.spec.ts @@ -112,7 +112,7 @@ describe('Chat harness — send + stream', () => { 'button[aria-label="Send message"]' ) as HTMLButtonElement; const ta = document.querySelector( - 'textarea[placeholder*="Type a message"]' + 'textarea[placeholder*="How can I help"]' ) as HTMLTextAreaElement; return { btnExists: !!btn, diff --git a/app/test/e2e/specs/chat-tool-error-recovery.spec.ts b/app/test/e2e/specs/chat-tool-error-recovery.spec.ts index cd788fadb..b3e9db714 100644 --- a/app/test/e2e/specs/chat-tool-error-recovery.spec.ts +++ b/app/test/e2e/specs/chat-tool-error-recovery.spec.ts @@ -153,7 +153,7 @@ describe('Chat tool-error recovery', () => { 'button[aria-label="Send message"]' ) as HTMLButtonElement | null; const ta = document.querySelector( - 'textarea[placeholder="Type a message..."]' + 'textarea[placeholder="How can I help you today?"]' ) as HTMLTextAreaElement | null; return (btn !== null && !btn.disabled) || (ta !== null && !ta.disabled); }); diff --git a/app/test/e2e/specs/composio-github-tools-tags.spec.ts b/app/test/e2e/specs/composio-github-tools-tags.spec.ts index e5c43e208..2ddad928f 100644 --- a/app/test/e2e/specs/composio-github-tools-tags.spec.ts +++ b/app/test/e2e/specs/composio-github-tools-tags.spec.ts @@ -86,7 +86,7 @@ async function navigateChatAndSend(prompt: string): Promise { async () => { if (await getSelectedThreadId()) return true; if (await textExists('No messages yet')) return true; - return textExists('Type a message'); + return textExists('How can I help'); }, { timeout: 15_000, timeoutMsg: 'Chat surface did not mount' } ); diff --git a/app/test/e2e/specs/conversations-web-channel-flow.spec.ts b/app/test/e2e/specs/conversations-web-channel-flow.spec.ts index eb108f963..8cf452944 100644 --- a/app/test/e2e/specs/conversations-web-channel-flow.spec.ts +++ b/app/test/e2e/specs/conversations-web-channel-flow.spec.ts @@ -74,7 +74,7 @@ suiteRunner('Conversations web channel flow', () => { // 'Message OpenHuman' button was removed from Home in a redesign — navigate directly. await navigateToConversations(); // If navigating to /chat doesn't show threads, retry via direct hash. - const hasInput = await textExists('Type a message...'); + const hasInput = await textExists('How can I help you today?'); if (!hasInput) { await navigateViaHash('/chat'); await browser.pause(2_000); diff --git a/app/test/e2e/specs/harness-composio-tool-flow.spec.ts b/app/test/e2e/specs/harness-composio-tool-flow.spec.ts index 26645bf6f..3fb3317c4 100644 --- a/app/test/e2e/specs/harness-composio-tool-flow.spec.ts +++ b/app/test/e2e/specs/harness-composio-tool-flow.spec.ts @@ -81,7 +81,7 @@ async function navigateChatAndSend(prompt: string): Promise { async () => { if (await getSelectedThreadId()) return true; if (await textExists('No messages yet')) return true; - return textExists('Type a message'); + return textExists('How can I help'); }, { timeout: 15_000, timeoutMsg: 'Chat surface did not mount' } ); diff --git a/app/test/e2e/specs/skill-multi-round.spec.ts b/app/test/e2e/specs/skill-multi-round.spec.ts index 9466126d9..d98475b6b 100644 --- a/app/test/e2e/specs/skill-multi-round.spec.ts +++ b/app/test/e2e/specs/skill-multi-round.spec.ts @@ -38,7 +38,7 @@ describe('Multi-round tool conversation smoke', () => { const ok = (await textExists('Threads')) || (await textExists('New')) || - (await textExists('Type a message')); + (await textExists('How can I help')); expect(ok).toBe(true); }); }); diff --git a/app/test/e2e/specs/voice-mode.spec.ts b/app/test/e2e/specs/voice-mode.spec.ts index 02ae5059f..cc73d9e78 100644 --- a/app/test/e2e/specs/voice-mode.spec.ts +++ b/app/test/e2e/specs/voice-mode.spec.ts @@ -96,10 +96,10 @@ describe.skip('Voice mode integration', () => { } expect(onHome).toBe(true); - const hasTextInput = await waitForAnyText(['Type a message', 'Threads', 'New'], 10_000); + const hasTextInput = await waitForAnyText(['How can I help', 'Threads', 'New'], 10_000); expect(hasTextInput).not.toBeNull(); - await clickButton('Start recording', 10_000); + await clickButton('Voice mode', 10_000); const voiceStatusMessage = await waitForAnyText( [ @@ -116,18 +116,18 @@ describe.skip('Voice mode integration', () => { expect(voiceStatusMessage).not.toBeNull(); await clickButton('Switch to text', 10_000); - const textRestored = await waitForAnyText(['Type a message', 'Threads', 'New'], 10_000); + const textRestored = await waitForAnyText(['How can I help', 'Threads', 'New'], 10_000); expect(textRestored).not.toBeNull(); }); it('surfaces a mic entry button from the text composer', async () => { - const onConversations = await waitForAnyText(['Type a message', 'Threads', 'New'], 10_000); + const onConversations = await waitForAnyText(['How can I help', 'Threads', 'New'], 10_000); if (!onConversations) { const tree = await dumpAccessibilityTree(); console.log('[VoiceModeE2E] Conversations not ready. Tree:\n', tree.slice(0, 4000)); } expect(onConversations).not.toBeNull(); - expect(await textExists('Start recording')).toBe(true); + expect(await textExists('Voice mode')).toBe(true); }); }); diff --git a/app/test/playwright/specs/chat-conversation-history.spec.ts b/app/test/playwright/specs/chat-conversation-history.spec.ts index 24aa17888..8a31a1f7d 100644 --- a/app/test/playwright/specs/chat-conversation-history.spec.ts +++ b/app/test/playwright/specs/chat-conversation-history.spec.ts @@ -115,7 +115,7 @@ async function waitForSocketConnected(page: Page): Promise { async function sendMessage(page: Page, prompt: string): Promise { await waitForSocketConnected(page); await dismissWalkthroughIfPresent(page); - await page.getByPlaceholder('Type a message...').fill(prompt); + await page.getByPlaceholder('How can I help you today?').fill(prompt); await dismissWalkthroughIfPresent(page); await expect(page.getByTestId('send-message-button')).toBeEnabled(); await page.getByTestId('send-message-button').click(); diff --git a/app/test/playwright/specs/chat-harness-cancel.spec.ts b/app/test/playwright/specs/chat-harness-cancel.spec.ts index 8e038aaed..8fd2e59ea 100644 --- a/app/test/playwright/specs/chat-harness-cancel.spec.ts +++ b/app/test/playwright/specs/chat-harness-cancel.spec.ts @@ -109,7 +109,7 @@ async function waitForSocketConnected(page: Page): Promise { async function sendMessage(page: Page, prompt: string): Promise { await waitForSocketConnected(page); await dismissWalkthroughIfPresent(page); - await page.getByPlaceholder('Type a message...').fill(prompt); + await page.getByPlaceholder('How can I help you today?').fill(prompt); await dismissWalkthroughIfPresent(page); await expect(page.getByTestId('send-message-button')).toBeEnabled(); await page.getByTestId('send-message-button').click(); @@ -134,7 +134,7 @@ test.describe('Chat Harness - Cancel', () => { await expect(page.getByText(piece, { exact: false })).toHaveCount(0); } - const composer = page.getByPlaceholder('Type a message...'); + const composer = page.getByPlaceholder('How can I help you today?'); await expect(composer).toBeEnabled(); await composer.fill('post-cancel probe message'); await expect(page.getByTestId('send-message-button')).toBeEnabled(); diff --git a/app/test/playwright/specs/chat-harness-scroll-render.spec.ts b/app/test/playwright/specs/chat-harness-scroll-render.spec.ts index 89e106c09..17a87ad96 100644 --- a/app/test/playwright/specs/chat-harness-scroll-render.spec.ts +++ b/app/test/playwright/specs/chat-harness-scroll-render.spec.ts @@ -117,7 +117,7 @@ async function waitForSocketConnected(page: Page): Promise { async function sendMessage(page: Page, prompt: string): Promise { await waitForSocketConnected(page); await dismissWalkthroughIfPresent(page); - await page.getByPlaceholder('Type a message...').fill(prompt); + await page.getByPlaceholder('How can I help you today?').fill(prompt); await dismissWalkthroughIfPresent(page); await expect(page.getByTestId('send-message-button')).toBeEnabled(); await page.getByTestId('send-message-button').click(); diff --git a/app/test/playwright/specs/chat-harness-send-stream.spec.ts b/app/test/playwright/specs/chat-harness-send-stream.spec.ts index 3f54dfc18..42f35cd83 100644 --- a/app/test/playwright/specs/chat-harness-send-stream.spec.ts +++ b/app/test/playwright/specs/chat-harness-send-stream.spec.ts @@ -113,7 +113,7 @@ async function waitForSocketConnected(page: Page): Promise { async function sendMessage(page: Page, prompt: string): Promise { await waitForSocketConnected(page); await dismissWalkthroughIfPresent(page); - await page.getByPlaceholder('Type a message...').fill(prompt); + await page.getByPlaceholder('How can I help you today?').fill(prompt); await dismissWalkthroughIfPresent(page); await expect(page.getByTestId('send-message-button')).toBeEnabled(); await page.getByTestId('send-message-button').click(); diff --git a/app/test/playwright/specs/chat-harness-subagent.spec.ts b/app/test/playwright/specs/chat-harness-subagent.spec.ts index 3f03ed3ac..e5bdba086 100644 --- a/app/test/playwright/specs/chat-harness-subagent.spec.ts +++ b/app/test/playwright/specs/chat-harness-subagent.spec.ts @@ -126,7 +126,7 @@ async function waitForSocketConnected(page: Page): Promise { async function sendMessage(page: Page, prompt: string): Promise { await waitForSocketConnected(page); await dismissWalkthroughIfPresent(page); - await page.getByPlaceholder('Type a message...').fill(prompt); + await page.getByPlaceholder('How can I help you today?').fill(prompt); await dismissWalkthroughIfPresent(page); await expect(page.getByTestId('send-message-button')).toBeEnabled(); await page.getByTestId('send-message-button').click(); diff --git a/app/test/playwright/specs/chat-harness-wallet-flow.spec.ts b/app/test/playwright/specs/chat-harness-wallet-flow.spec.ts index 3b15d42f8..e13a72f7e 100644 --- a/app/test/playwright/specs/chat-harness-wallet-flow.spec.ts +++ b/app/test/playwright/specs/chat-harness-wallet-flow.spec.ts @@ -151,7 +151,7 @@ async function waitForSocketConnected(page: Page): Promise { async function sendMessage(page: Page, prompt: string): Promise { await waitForSocketConnected(page); await dismissWalkthroughIfPresent(page); - await page.getByPlaceholder('Type a message...').fill(prompt); + await page.getByPlaceholder('How can I help you today?').fill(prompt); await dismissWalkthroughIfPresent(page); await expect(page.getByTestId('send-message-button')).toBeEnabled(); await page.getByTestId('send-message-button').click(); diff --git a/app/test/playwright/specs/chat-multi-tool-round.spec.ts b/app/test/playwright/specs/chat-multi-tool-round.spec.ts index c99be4fcf..47729df50 100644 --- a/app/test/playwright/specs/chat-multi-tool-round.spec.ts +++ b/app/test/playwright/specs/chat-multi-tool-round.spec.ts @@ -134,7 +134,7 @@ async function waitForSocketConnected(page: Page): Promise { async function sendMessage(page: Page, prompt: string): Promise { await waitForSocketConnected(page); await dismissWalkthroughIfPresent(page); - await page.getByPlaceholder('Type a message...').fill(prompt); + await page.getByPlaceholder('How can I help you today?').fill(prompt); await dismissWalkthroughIfPresent(page); await expect(page.getByTestId('send-message-button')).toBeEnabled(); await page.getByTestId('send-message-button').click(); diff --git a/app/test/playwright/specs/chat-tool-call-flow.spec.ts b/app/test/playwright/specs/chat-tool-call-flow.spec.ts index aaf2b0531..8c6974bc4 100644 --- a/app/test/playwright/specs/chat-tool-call-flow.spec.ts +++ b/app/test/playwright/specs/chat-tool-call-flow.spec.ts @@ -124,7 +124,7 @@ async function waitForSocketConnected(page: Page): Promise { async function sendMessage(page: Page, prompt: string): Promise { await waitForSocketConnected(page); await dismissWalkthroughIfPresent(page); - await page.getByPlaceholder('Type a message...').fill(prompt); + await page.getByPlaceholder('How can I help you today?').fill(prompt); await dismissWalkthroughIfPresent(page); await expect(page.getByTestId('send-message-button')).toBeEnabled(); await page.getByTestId('send-message-button').click(); diff --git a/app/test/playwright/specs/chat-tool-error-recovery.spec.ts b/app/test/playwright/specs/chat-tool-error-recovery.spec.ts index 8d333c08f..151c245af 100644 --- a/app/test/playwright/specs/chat-tool-error-recovery.spec.ts +++ b/app/test/playwright/specs/chat-tool-error-recovery.spec.ts @@ -99,7 +99,7 @@ async function waitForSocketConnected(page: Page): Promise { async function sendMessage(page: Page, prompt: string): Promise { await waitForSocketConnected(page); await dismissWalkthroughIfPresent(page); - await page.getByPlaceholder('Type a message...').fill(prompt); + await page.getByPlaceholder('How can I help you today?').fill(prompt); await dismissWalkthroughIfPresent(page); await expect(page.getByTestId('send-message-button')).toBeEnabled(); await page.getByTestId('send-message-button').click(); @@ -142,7 +142,7 @@ test.describe('Chat Tool Error Recovery', () => { }) .toBeNull(); - const composer = page.getByPlaceholder('Type a message...'); + const composer = page.getByPlaceholder('How can I help you today?'); await expect(composer).toBeEnabled(); await setMockBehavior('llmStreamScript', ''); diff --git a/app/test/playwright/specs/conversations-web-channel-flow.spec.ts b/app/test/playwright/specs/conversations-web-channel-flow.spec.ts index 7e8abd83f..e1dabf3c2 100644 --- a/app/test/playwright/specs/conversations-web-channel-flow.spec.ts +++ b/app/test/playwright/specs/conversations-web-channel-flow.spec.ts @@ -112,7 +112,7 @@ async function waitForSocketConnected(page: Page): Promise { async function sendMessage(page: Page, prompt: string): Promise { await waitForSocketConnected(page); await dismissWalkthroughIfPresent(page); - await page.getByPlaceholder('Type a message...').fill(prompt); + await page.getByPlaceholder('How can I help you today?').fill(prompt); await dismissWalkthroughIfPresent(page); await expect(page.getByTestId('send-message-button')).toBeEnabled(); await page.getByTestId('send-message-button').click(); diff --git a/app/test/playwright/specs/harness-channel-bridge-flow.spec.ts b/app/test/playwright/specs/harness-channel-bridge-flow.spec.ts index 930d76eec..b0b92703e 100644 --- a/app/test/playwright/specs/harness-channel-bridge-flow.spec.ts +++ b/app/test/playwright/specs/harness-channel-bridge-flow.spec.ts @@ -99,7 +99,7 @@ async function waitForSocketConnected(page: Page): Promise { async function sendMessage(page: Page, prompt: string): Promise { await waitForSocketConnected(page); await dismissWalkthroughIfPresent(page); - await page.getByPlaceholder('Type a message...').fill(prompt); + await page.getByPlaceholder('How can I help you today?').fill(prompt); await dismissWalkthroughIfPresent(page); await expect(page.getByTestId('send-message-button')).toBeEnabled(); await page.getByTestId('send-message-button').click(); diff --git a/app/test/playwright/specs/harness-composio-tool-flow.spec.ts b/app/test/playwright/specs/harness-composio-tool-flow.spec.ts index eb3ac3da5..b025a1856 100644 --- a/app/test/playwright/specs/harness-composio-tool-flow.spec.ts +++ b/app/test/playwright/specs/harness-composio-tool-flow.spec.ts @@ -124,7 +124,7 @@ async function waitForSocketConnected(page: Page): Promise { async function sendMessage(page: Page, prompt: string): Promise { await waitForSocketConnected(page); await dismissWalkthroughIfPresent(page); - await page.getByPlaceholder('Type a message...').fill(prompt); + await page.getByPlaceholder('How can I help you today?').fill(prompt); await dismissWalkthroughIfPresent(page); await expect(page.getByTestId('send-message-button')).toBeEnabled(); await page.getByTestId('send-message-button').click(); diff --git a/app/test/playwright/specs/harness-cron-prompt-flow.spec.ts b/app/test/playwright/specs/harness-cron-prompt-flow.spec.ts index f348b80a4..1a01b38a0 100644 --- a/app/test/playwright/specs/harness-cron-prompt-flow.spec.ts +++ b/app/test/playwright/specs/harness-cron-prompt-flow.spec.ts @@ -101,7 +101,7 @@ async function waitForSocketConnected(page: Page): Promise { async function sendMessage(page: Page, prompt: string): Promise { await waitForSocketConnected(page); await dismissWalkthroughIfPresent(page); - await page.getByPlaceholder('Type a message...').fill(prompt); + await page.getByPlaceholder('How can I help you today?').fill(prompt); await dismissWalkthroughIfPresent(page); await expect(page.getByTestId('send-message-button')).toBeEnabled(); await page.getByTestId('send-message-button').click(); diff --git a/app/test/playwright/specs/harness-search-tool-flow.spec.ts b/app/test/playwright/specs/harness-search-tool-flow.spec.ts index f52c279df..8c519b493 100644 --- a/app/test/playwright/specs/harness-search-tool-flow.spec.ts +++ b/app/test/playwright/specs/harness-search-tool-flow.spec.ts @@ -110,7 +110,7 @@ async function waitForSocketConnected(page: Page): Promise { async function sendMessage(page: Page, prompt: string): Promise { await waitForSocketConnected(page); await dismissWalkthroughIfPresent(page); - await page.getByPlaceholder('Type a message...').fill(prompt); + await page.getByPlaceholder('How can I help you today?').fill(prompt); await dismissWalkthroughIfPresent(page); await expect(page.getByTestId('send-message-button')).toBeEnabled(); await page.getByTestId('send-message-button').click(); diff --git a/app/test/playwright/specs/skill-multi-round.spec.ts b/app/test/playwright/specs/skill-multi-round.spec.ts index 7cc76ccab..535de38fa 100644 --- a/app/test/playwright/specs/skill-multi-round.spec.ts +++ b/app/test/playwright/specs/skill-multi-round.spec.ts @@ -16,7 +16,7 @@ test.describe('Multi-round tool conversation smoke', () => { const text = await page.locator('#root').innerText(); expect( - ['Threads', 'New thread', 'Type a message', 'Chat'].some(marker => text.includes(marker)) + ['Threads', 'New thread', 'How can I help', 'Chat'].some(marker => text.includes(marker)) ).toBe(true); }); }); diff --git a/app/test/playwright/specs/user-journey-full-task.spec.ts b/app/test/playwright/specs/user-journey-full-task.spec.ts index 24a24cb80..ddfdbf4f7 100644 --- a/app/test/playwright/specs/user-journey-full-task.spec.ts +++ b/app/test/playwright/specs/user-journey-full-task.spec.ts @@ -101,7 +101,7 @@ async function waitForSocketConnected(page: Page): Promise { async function sendMessage(page: Page, prompt: string): Promise { await waitForSocketConnected(page); await dismissWalkthroughIfPresent(page); - await page.getByPlaceholder('Type a message...').fill(prompt); + await page.getByPlaceholder('How can I help you today?').fill(prompt); await dismissWalkthroughIfPresent(page); await expect(page.getByTestId('send-message-button')).toBeEnabled(); await page.getByTestId('send-message-button').click(); diff --git a/app/test/playwright/specs/voice-mode.spec.ts b/app/test/playwright/specs/voice-mode.spec.ts index 38592cfa5..07bb78b8c 100644 --- a/app/test/playwright/specs/voice-mode.spec.ts +++ b/app/test/playwright/specs/voice-mode.spec.ts @@ -24,7 +24,7 @@ async function openChat(page: Page): Promise { await skipButton.first().click({ force: true }); await expect(skipButton.first()).toBeHidden(); } - await expect(page.getByPlaceholder('Type a message...')).toBeVisible(); + await expect(page.getByPlaceholder('How can I help you today?')).toBeVisible(); } async function installGetUserMediaError(page: Page, name: string): Promise { @@ -61,7 +61,7 @@ async function restoreGetUserMedia(page: Page): Promise { async function switchChatIntoMicComposer(page: Page): Promise { await dismissWalkthroughIfPresent(page); - await page.getByRole('button', { name: 'Start recording' }).click({ force: true }); + await page.getByRole('button', { name: 'Voice mode' }).click({ force: true }); await expect(page.getByText(/Tap and speak|Waiting for agent/i)).toBeVisible(); await expect(page.getByRole('button', { name: 'Switch to text' })).toBeVisible(); } @@ -77,7 +77,7 @@ test.describe('Voice mode integration', () => { await switchChatIntoMicComposer(page); await page.getByRole('button', { name: 'Switch to text' }).click(); - await expect(page.getByPlaceholder('Type a message...')).toBeVisible(); + await expect(page.getByPlaceholder('How can I help you today?')).toBeVisible(); await expect(page.getByTestId('send-message-button')).toBeVisible(); });