From a33a2cb5b54d98dc061406cbec62840274e7a811 Mon Sep 17 00:00:00 2001 From: yuneng-jiang Date: Thu, 27 Nov 2025 17:53:09 -0800 Subject: [PATCH] Adding timeout to flaky test --- .../e2e_ui_tests/view_user_info.spec.ts | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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 5b9a9ab133..01eadc9ad1 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 @@ -29,8 +29,12 @@ test.describe("User Info View", () => { await firstUserIdCell.click(); // Check for tabs - await expect(page.locator('button:has-text("Overview")')).toBeVisible(); - await expect(page.locator('button:has-text("Details")')).toBeVisible(); + await expect(page.locator('button:has-text("Overview")')).toBeVisible({ + timeout: 10000, + }); + await expect(page.locator('button:has-text("Details")')).toBeVisible({ + timeout: 10000, + }); // Switch to details tab await page.locator('button:has-text("Details")').click();