From 67250f0f6b6fcc9b180290803ae1ce070aa17926 Mon Sep 17 00:00:00 2001 From: sindhuba <122321535+sindhuba@users.noreply.github.com> Date: Thu, 5 Feb 2026 16:14:37 -0800 Subject: [PATCH] Fix timeout for flaky tests (#2378) * Add changes for Load more option to work * Remove localhost * Add Mongo Pagination tests * Run npm format * Fix timeout in tests * Revert "Fix timeout in tests" This reverts commit 418b81c490e300d0297282d649fa84d4bba4e11a. * Fix timeout in tests * Minor fix * Revert "Minor fix" This reverts commit 87fe289e3a132d092c711d6b0572c80cbf624559. * Revert "Fix timeout in tests" This reverts commit 11c5748a31b270ee7355232caf23325621733651. * Fix timeout --- test/fx.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/fx.ts b/test/fx.ts index 9c8c382a3..5c19658ff 100644 --- a/test/fx.ts +++ b/test/fx.ts @@ -250,7 +250,7 @@ class TreeNode { // Try three times to wait for the node to expand. for (let i = 0; i < RETRY_COUNT; i++) { try { - await tree.waitFor({ state: "visible" }); + await tree.waitFor({ state: "visible", timeout: 30000 }); // The tree has expanded, let's get out of here return true; } catch {