Merge pull request #23085 from BerriAI/litellm_fix_team_info_test

[Fix] UI - Team: TeamInfo Virtual Keys Test Assertions
This commit is contained in:
yuneng-jiang
2026-03-07 18:20:09 -08:00
committed by GitHub
@@ -634,7 +634,7 @@ describe("TeamInfoView", () => {
await user.click(virtualKeysTab);
await waitFor(() => {
expect(screen.getByText("5 Members")).toBeInTheDocument();
expect(screen.getByText("Page 1 of 1")).toBeInTheDocument();
});
});
@@ -679,9 +679,8 @@ describe("TeamInfoView", () => {
await user.click(virtualKeysTab);
await waitFor(() => {
expect(screen.getByText("1 Member")).toBeInTheDocument();
expect(screen.getByRole("button", { name: "Filters" })).toBeInTheDocument();
});
expect(screen.getByRole("button", { name: "Filters" })).toBeInTheDocument();
expect(screen.getByRole("button", { name: "Reset Filters" })).toBeInTheDocument();
expect(screen.getByText("Page 1 of 1")).toBeInTheDocument();
expect(screen.getByRole("button", { name: "Previous" })).toBeInTheDocument();