Fix timeout in tests

This commit is contained in:
Sindhu Balasubramanian
2026-02-05 10:59:19 -08:00
parent 0b4c32a57d
commit 11c5748a31
2 changed files with 8 additions and 3 deletions

View File

@@ -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: 3*1000 });
// The tree has expanded, let's get out of here
return true;
} catch {