diff --git a/ui/litellm-dashboard/src/components/edit_auto_router/edit_auto_router_modal.integration.test.tsx b/ui/litellm-dashboard/src/components/edit_auto_router/edit_auto_router_modal.integration.test.tsx index 646e83a773b..0bb3340ac09 100644 --- a/ui/litellm-dashboard/src/components/edit_auto_router/edit_auto_router_modal.integration.test.tsx +++ b/ui/litellm-dashboard/src/components/edit_auto_router/edit_auto_router_modal.integration.test.tsx @@ -105,7 +105,7 @@ describe("EditAutoRouterModal keyword matching", () => { expect(screen.queryByText("Advanced: Compression")).not.toBeInTheDocument(); expect(screen.queryByText("Model Access Groups")).not.toBeInTheDocument(); await user.click(screen.getByText("Advanced: Affinity")); - await user.click(await screen.findByRole("switch", { name: "Pin a session to one deployment per model group" })); + await user.click(await screen.findByRole("switch", { name: "Pin one model deployment per tier" })); await user.click(screen.getByRole("button", { name: /save changes/i })); await waitFor(() => expect(modelPatchUpdateCall).toHaveBeenCalled()); expect(modelPatchUpdateCall).toHaveBeenLastCalledWith(