Skip to content

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

Merge remote-tracking branch 'origin/litellm_internal_staging' into litellm_/jovial-archimedes-1d743b

Yuneng Jiangc818aa153d14
diff --cc tests/e2e/ui/tests/internal-user/internalUserWithTeams.spec.ts
index 23e9ed78d9c,49e27a36673..d4c636e0541
--- a/tests/e2e/ui/tests/internal-user/internalUserWithTeams.spec.ts
+++ b/tests/e2e/ui/tests/internal-user/internalUserWithTeams.spec.ts
@@@ -26,14 -21,10 +26,11 @@@ test.describe("Internal User with team
const teamSelect = page.getByTestId("team-dropdown").getByRole("combobox");
await teamSelect.click();
- const dropdown = page.locator('[data-slot="combobox-content"]:visible').first();
- await expect(dropdown).toBeVisible({ timeout: 5_000 });
-
- // Both seeded memberships render, and nothing else does — proving the
+ // All seeded memberships render, and nothing else does — proving the
// dropdown is scoped to the user's teams rather than empty or unfiltered.
- await expect(dropdown.getByText(E2E_TEAM_CRUD_ALIAS, { exact: true })).toBeVisible({ timeout: 10_000 });
- await expect(dropdown.getByText(E2E_TEAM_ORG_ALIAS, { exact: true })).toBeVisible();
- await expect(dropdown.getByText(E2E_TEAM_KEYGEN_ALIAS, { exact: true })).toBeVisible();
- await expect(dropdown.getByRole("option")).toHaveCount(3);
+ await expect(page.getByRole("option", { name: E2E_TEAM_CRUD_ALIAS })).toBeVisible({ timeout: 10_000 });
+ await expect(page.getByRole("option", { name: E2E_TEAM_ORG_ALIAS })).toBeVisible();
- await expect(page.getByRole("option")).toHaveCount(2);
++ await expect(page.getByRole("option", { name: E2E_TEAM_KEYGEN_ALIAS })).toBeVisible();
++ await expect(page.getByRole("option")).toHaveCount(3);
});
});