Skip to content

Commit fb320cb

Browse files
t3dotggclaude
andcommitted
test(web): prove the docked picker stays open after a no-effort pick
Co-Authored-By: Claude Opus 5.5 <[email protected]>
1 parent c03e74c commit fb320cb

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎apps/web/src/components/chat/ProviderModelPicker.browser.test.tsx‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,8 @@ it("keeps a docked picker open after a pick and hands focus to that model's effo
164164
await expect.element(page.getByRole("radio", { name: "Medium" })).toHaveFocus();
165165

166166
await page.getByRole("option", { name: /Plain model/ }).click();
167-
await expect.element(page.getByRole("option", { name: /Plain model/ })).toBeInTheDocument();
167+
await page.getByRole("option", { name: /Second model/ }).click();
168+
await expect.element(page.getByRole("radio", { name: "Medium" })).toHaveFocus();
168169
await userEvent.keyboard("{Escape}");
169170
await expect.element(search).not.toBeInTheDocument();
170171
});

0 commit comments

Comments
 (0)