diff --git a/ui/litellm-dashboard/src/components/agents.test.tsx b/ui/litellm-dashboard/src/components/agents.test.tsx index 8914f8ad6bc..3b0f4341da8 100644 --- a/ui/litellm-dashboard/src/components/agents.test.tsx +++ b/ui/litellm-dashboard/src/components/agents.test.tsx @@ -20,6 +20,8 @@ vi.mock("./agents/agent_card_grid", () => ({ ), })); +// Note: agents.tsx no longer uses AgentCardGrid — it renders a Table directly. + vi.mock("./agents/agent_info", () => ({ default: () =>
, })); @@ -54,19 +56,19 @@ describe("AgentsPanel", () => { expect(screen.queryByText("+ Add New Agent")).not.toBeInTheDocument(); }); - it("should pass isAdmin=true to AgentCardGrid for admin role", async () => { + it("should show Actions column header for admin role", async () => { render(