From 7cf2badf2b3dd3d661f2a7456282909b873aa1fc Mon Sep 17 00:00:00 2001 From: Paul Fitzpatrick Date: Thu, 10 Oct 2024 15:17:19 -0400 Subject: [PATCH] now switching to light theme is occasionally timing out --- test/nbrowser/gristUtils.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/nbrowser/gristUtils.ts b/test/nbrowser/gristUtils.ts index fadac5e4..2121a87b 100644 --- a/test/nbrowser/gristUtils.ts +++ b/test/nbrowser/gristUtils.ts @@ -2781,11 +2781,11 @@ export function addSamplesForSuite(includeTutorial = false) { } export async function openAccountMenu() { - await driver.findWait('.test-dm-account', 1000).click(); + await driver.findWait('.test-dm-account', 2000).click(); // Since the AccountWidget loads orgs and the user data asynchronously, the menu // can expand itself causing the click to land on a wrong button. await waitForServer(); - await driver.findWait('.test-site-switcher-org', 1000); + await driver.findWait('.test-site-switcher-org', 2000); await driver.sleep(250); // There's still some jitter (scroll-bar? other user accounts?) }