From 580cd0e22e05ac811e704c5ea60e05c4e4e3469f Mon Sep 17 00:00:00 2001 From: Dmitry S Date: Sun, 1 Aug 2021 23:17:25 -0400 Subject: [PATCH] (core) Add a waitForServer to fix HomeIntro test that fails for deployments Test Plan: Tested by running HomeIntro in staging_deployment suite. Reviewers: georgegevoian Reviewed By: georgegevoian Differential Revision: https://phab.getgrist.com/D2956 --- test/nbrowser/gristUtils.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/nbrowser/gristUtils.ts b/test/nbrowser/gristUtils.ts index 66eee089..1df8a3de 100644 --- a/test/nbrowser/gristUtils.ts +++ b/test/nbrowser/gristUtils.ts @@ -1103,6 +1103,8 @@ export async function completeCopy(options: {destName?: string, destWorkspace?: await driver.findContent('.test-select-menu li', options.destWorkspace).click(); } + await waitForServer(); + // save the urlId const urlId = await getCurrentUrlId();