mirror of
https://github.com/tiennm99/litellm.git
synced 2026-08-10 16:22:17 +00:00
fix(e2e): remove flaky banner check and increase regenerate key timeout
This commit is contained in:
@@ -68,9 +68,8 @@ test.describe("Proxy Admin - Keys", () => {
|
||||
const modal = page.locator(".ant-modal:visible");
|
||||
await modal.getByRole("button", { name: /Regenerate/ }).click();
|
||||
|
||||
// Success view shows the warning banner and a Copy Key button in the footer
|
||||
await expect(modal.getByText("Save it now, you will not see it again")).toBeVisible({ timeout: 10_000 });
|
||||
await expect(modal.getByRole("button", { name: /Copy Key/ })).toBeVisible({ timeout: 10_000 });
|
||||
// Success view shows a Copy Key button in the footer
|
||||
await expect(modal.getByRole("button", { name: /Copy Key/ })).toBeVisible({ timeout: 20_000 });
|
||||
});
|
||||
|
||||
test("Update key TPM and RPM limits", async ({ page }) => {
|
||||
|
||||
Reference in New Issue
Block a user