Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

test(live-voice): add playwright spec for live voice flow

Steven Enamakela5a92c0525bd
diff --git a/app/test/playwright/specs/live-voice.spec.ts b/app/test/playwright/specs/live-voice.spec.ts
index 0d28033f1a..96dba6a076 100644
--- a/app/test/playwright/specs/live-voice.spec.ts
+++ b/app/test/playwright/specs/live-voice.spec.ts
@@ -160,7 +160,7 @@ test.describe('Live voice agent', () => {
await bootAuthenticatedPage(page, 'pw-live-voice-session', '/chat');
await dismissWalkthroughIfPresent(page);
- await page.getByTestId('chat-mascot-dock').click();
+ await page.getByTestId('composer-human-mode').click();
await expect(page.getByTestId('chat-mascot-stage')).toBeVisible();
// The start frame comes first and carries the open thread.
@@ -216,7 +216,7 @@ test.describe('Live voice agent', () => {
await bootAuthenticatedPage(page, 'pw-live-voice-error', '/chat');
await dismissWalkthroughIfPresent(page);
- await page.getByTestId('chat-mascot-dock').click();
+ await page.getByTestId('composer-human-mode').click();
await expect.poll(() => core.frames[0]?.type).toBe('start');
core
.socket()!