Skip to content

Commit ec9791f

Browse files
authored
Merge pull request #23085 from BerriAI/litellm_fix_team_info_test
[Fix] UI - Team: TeamInfo Virtual Keys Test Assertions
2 parents fc81edc + efcde74 commit ec9791f

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

ui/litellm-dashboard/src/components/team/TeamInfo.test.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -634,7 +634,7 @@ describe("TeamInfoView", () => {
634634
await user.click(virtualKeysTab);
635635

636636
await waitFor(() => {
637-
expect(screen.getByText("5 Members")).toBeInTheDocument();
637+
expect(screen.getByText("Page 1 of 1")).toBeInTheDocument();
638638
});
639639
});
640640

@@ -679,9 +679,8 @@ describe("TeamInfoView", () => {
679679
await user.click(virtualKeysTab);
680680

681681
await waitFor(() => {
682-
expect(screen.getByText("1 Member")).toBeInTheDocument();
682+
expect(screen.getByRole("button", { name: "Filters" })).toBeInTheDocument();
683683
});
684-
expect(screen.getByRole("button", { name: "Filters" })).toBeInTheDocument();
685684
expect(screen.getByRole("button", { name: "Reset Filters" })).toBeInTheDocument();
686685
expect(screen.getByText("Page 1 of 1")).toBeInTheDocument();
687686
expect(screen.getByRole("button", { name: "Previous" })).toBeInTheDocument();

0 commit comments

Comments
 (0)