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]

Adding waits

yuneng-jiang19dc5d750c40
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 53c73593882..cba7ddad7cc 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
@@ -18,6 +18,7 @@ test.describe("User Info View", () => {
state: "hidden",
timeout: 10000,
});
+ await page.waitForLoadState("networkidle");
page.screenshot({ path: "test-results/view_user_info_after_loading.png" });
// Wait for users table to load
await page.waitForSelector("table");
@@ -33,6 +34,7 @@ test.describe("User Info View", () => {
// Click on the user ID
await firstUserIdCell.click();
+ await page.waitForLoadState("networkidle");
// Check for tabs
await expect(page.locator('button:has-text("Overview")')).toBeVisible({