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 {