diff --git a/ui/litellm-dashboard/src/app/(dashboard)/playground/components/chat_ui/AgentBuilderView.test.tsx b/ui/litellm-dashboard/src/app/(dashboard)/playground/components/chat_ui/AgentBuilderView.test.tsx index 179b7b8557a..e30f87115cf 100644 --- a/ui/litellm-dashboard/src/app/(dashboard)/playground/components/chat_ui/AgentBuilderView.test.tsx +++ b/ui/litellm-dashboard/src/app/(dashboard)/playground/components/chat_ui/AgentBuilderView.test.tsx @@ -38,8 +38,6 @@ vi.mock("@/components/molecules/notifications_manager", () => ({ default: { success: vi.fn(), fromBackend: vi.fn() }, })); -// Both tab bodies keep their own state, which is what the tab container has to -// preserve when the user moves away and comes back. const StatefulPanel = ({ label }: { label: string }) => { const [draft, setDraft] = useState(""); return setDraft(event.target.value)} />; @@ -73,8 +71,6 @@ const props = { userRole: "Admin", }; -// The labels in the configure panel are not wired to their controls, so reach -// the control through the field that the label heads. const controlUnder = (label: string): HTMLElement => within(screen.getByText(label).parentElement!).getByRole("combobox"); @@ -212,8 +208,6 @@ describe("AgentBuilderView", () => { expect(await screen.findByText(/Are you sure you want to delete "support-agent"/)).toBeInTheDocument(); expect(modelDeleteCall).not.toHaveBeenCalled(); - // The trigger and the confirmation share a label; the confirmation is the - // one rendered last, in the overlay. const confirmations = screen.getAllByRole("button", { name: /Delete$/ }); await user.click(confirmations[confirmations.length - 1]); diff --git a/ui/litellm-dashboard/src/app/(dashboard)/playground/components/chat_ui/AgentBuilderView.tsx b/ui/litellm-dashboard/src/app/(dashboard)/playground/components/chat_ui/AgentBuilderView.tsx index 44995707b10..5a86b2d27f4 100644 --- a/ui/litellm-dashboard/src/app/(dashboard)/playground/components/chat_ui/AgentBuilderView.tsx +++ b/ui/litellm-dashboard/src/app/(dashboard)/playground/components/chat_ui/AgentBuilderView.tsx @@ -752,7 +752,6 @@ export default function AgentBuilderView({ Cancel - {/* Not AlertDialogAction: that closes on click, and the dialog must stay up while the delete is in flight */} diff --git a/ui/litellm-dashboard/src/app/(dashboard)/playground/components/compareUI/CompareUI.tsx b/ui/litellm-dashboard/src/app/(dashboard)/playground/components/compareUI/CompareUI.tsx index efb8e809352..984e04e93f1 100644 --- a/ui/litellm-dashboard/src/app/(dashboard)/playground/components/compareUI/CompareUI.tsx +++ b/ui/litellm-dashboard/src/app/(dashboard)/playground/components/compareUI/CompareUI.tsx @@ -739,7 +739,6 @@ export default function CompareUI({ accessToken, disabledPersonalKeyCreation }: Clear All Chats - {/* A disabled button emits no pointer events, so the hover target has to be a wrapper */} }>