diff --git a/ui/litellm-dashboard/e2e_tests/globalSetup.ts b/ui/litellm-dashboard/e2e_tests/globalSetup.ts index e37d0bd718..44d50a49af 100644 --- a/ui/litellm-dashboard/e2e_tests/globalSetup.ts +++ b/ui/litellm-dashboard/e2e_tests/globalSetup.ts @@ -10,7 +10,7 @@ async function globalSetup() { await page.getByPlaceholder("Enter your password").fill(users[Role.ProxyAdmin].password); const loginButton = page.getByRole("button", { name: "Login", exact: true }); await loginButton.click(); - await page.waitForSelector("text=AI Gateway"); + await page.waitForSelector("text=Virtual Keys"); await page.context().storageState({ path: "admin.storageState.json" }); await browser.close(); } diff --git a/ui/litellm-dashboard/e2e_tests/tests/login/login.spec.ts b/ui/litellm-dashboard/e2e_tests/tests/login/login.spec.ts index 1d44594471..5d4b250844 100644 --- a/ui/litellm-dashboard/e2e_tests/tests/login/login.spec.ts +++ b/ui/litellm-dashboard/e2e_tests/tests/login/login.spec.ts @@ -9,5 +9,5 @@ test("user can log in", async ({ page }) => { const loginButton = page.getByRole("button", { name: "Login", exact: true }); await expect(loginButton).toBeEnabled(); await loginButton.click(); - await expect(page.getByText("AI Gateway")).toBeVisible(); + await expect(page.getByText("Virtual Keys")).toBeVisible(); });