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]

fix(e2e): assert the users table's own empty-state copy

Yuneng Jiang859bd01ddab6
diff --git a/tests/e2e/ui/tests/users/searchUsers.spec.ts b/tests/e2e/ui/tests/users/searchUsers.spec.ts
index ee1a3f18f69..fa8f32764e8 100644
--- a/tests/e2e/ui/tests/users/searchUsers.spec.ts
+++ b/tests/e2e/ui/tests/users/searchUsers.spec.ts
@@ -46,6 +46,7 @@ test.describe("Internal Users Search", () => {
await page.getByTestId("users-filter-sso-id").fill("e2e-sso-id-that-matches-nobody");
await page.getByTestId("filter-drawer-apply").click();
- await expect(page.getByRole("row").filter({ hasText: "No results" })).toBeVisible({ timeout: 30_000 });
+ await expect(page.getByText("No users found")).toBeVisible({ timeout: 30_000 });
+ await expect(userRows(page).filter({ hasText: "[email protected]" })).toHaveCount(0);
});
});