mirror of
https://github.com/tiennm99/litellm.git
synced 2026-08-11 16:26:07 +00:00
Merge pull request #23085 from BerriAI/litellm_fix_team_info_test
[Fix] UI - Team: TeamInfo Virtual Keys Test Assertions
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user