@devries-cameron20 / t3code Mirror · read-only / commits / e9a7c076f7
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

Mirrored from https://github.com/Camo67/t3code.git

Synced Nov 21, 18:30 UTC

test(web): OpenRouter voice test fills the model picker instead of typing each key (#35581)

Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>

Theo Browne committed Nov 12, 2026 at 12:09 UTC e9a7c076f744529fce1a0f3928738d7227e2cba7
1 file changed +2 -4
apps/web/src/components/settings/CloudVoiceConfiguration.browser.test.tsx
+2 -4
@@ -215,8 +215,7 @@ it("OpenRouter needs an exact model, and changing it writes no credential", asyn
215 await expect.element(save).toBeDisabled();
216 const picker = dialog.getByRole("combobox", { name: "OpenRouter model" });
217 await expect.element(picker).toBeVisible();
218 - await picker.click();
219 - await userEvent.keyboard("listen");
218 + await picker.fill("listen");
219 await expect.element(page.getByRole("option", { name: /Other: Listen 2/ })).toBeVisible();
220 await page.getByRole("option", { name: /Other: Listen 2/ }).click();
221 await expect.element(save).toBeEnabled();
@@ -232,8 +231,7 @@ it("OpenRouter needs an exact model, and changing it writes no credential", asyn
231 await screen.getByRole("button", { name: "Manage OpenRouter" }).click();
232 const current = dialog.getByRole("combobox", { name: "OpenRouter model" });
233 await expect.element(current).toHaveValue("Other: Listen 2");
235 - await userEvent.clear(current);
236 - await userEvent.type(current, "acme");
234 + await current.fill("acme");
235 await page.getByRole("option", { name: /Acme: Transcribe 1/ }).click();
236 await dialog.getByRole("button", { name: "Save" }).click();
237 await expect.element(dialog).not.toBeInTheDocument();