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]

Adjusting e2e tests for new loading state

yuneng-jiang67f9c6cc08b3
diff --git a/tests/proxy_admin_ui_tests/e2e_ui_tests/view_user_info.spec.ts b/tests/proxy_admin_ui_tests/e2e_ui_tests/view_user_info.spec.ts
index a9dea734353..6c1665a3ae1 100644
--- a/tests/proxy_admin_ui_tests/e2e_ui_tests/view_user_info.spec.ts
+++ b/tests/proxy_admin_ui_tests/e2e_ui_tests/view_user_info.spec.ts
@@ -11,6 +11,8 @@ test.describe("User Info View", () => {
test("should display user info when clicking on user ID", async ({
page,
}) => {
+ // Wait for loading state to disappear
+ await page.waitForSelector('text="Loading users..."', { state: "hidden" });
// Wait for users table to load
await page.waitForSelector("table");