Merge pull request #17446 from BerriAI/litellm_ui_e2e_cicd_fix

[Fix] Change e2e test to look for Virtual Keys instead of API Keys
This commit is contained in:
yuneng-jiang 2025-12-03 15:35:22 -08:00 committed by GitHub
commit ee63105e16
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -34,10 +34,10 @@ test("view internal user page", async ({ page }) => {
// The UI renders badges in each row - we just verify the column structure exists
const rowCount = await page.locator("tbody tr").count();
expect(rowCount).toBeGreaterThan(0);
// Verify table headers are present (including API Keys column)
const apiKeysHeader = page.locator("th", { hasText: "API Keys" });
await expect(apiKeysHeader).toBeVisible();
// Verify table headers are present (including Virtual Keys column)
const virtualKeysHeader = page.locator("th", { hasText: "Virtual Keys" });
await expect(virtualKeysHeader).toBeVisible();
// test pagination
// Wait for pagination controls to be visible