diff --git a/surfsense_local/frontend/src/features/dashboard/dashboard-page.test.tsx b/surfsense_local/frontend/src/features/dashboard/dashboard-page.test.tsx index 46b2eeb9da..d17d5d5a86 100644 --- a/surfsense_local/frontend/src/features/dashboard/dashboard-page.test.tsx +++ b/surfsense_local/frontend/src/features/dashboard/dashboard-page.test.tsx @@ -1115,10 +1115,9 @@ describe("dashboard chat", () => { await user.click( within(conversation).getByRole("button", { name: /^Chat mode Basic/ }) ) + // An open chat lists both modes; the other one opens a new chat. await user.click( - await screen.findByRole("menuitem", { - name: /^Start a new chat in Agentic mode/, - }) + await screen.findByRole("menuitemradio", { name: /^Agentic/ }) ) expect(