From cd6050a34b3919d75ecbd6a777bece9c8ae2c569 Mon Sep 17 00:00:00 2001 From: Liam DeBeasi Date: Thu, 29 Sep 2022 14:43:19 -0500 Subject: [PATCH] test(playwright): remove redundant wait (#26038) --- core/src/utils/test/playwright/page/utils/set-content.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/core/src/utils/test/playwright/page/utils/set-content.ts b/core/src/utils/test/playwright/page/utils/set-content.ts index 6bad36c4bf..aaa905cf47 100644 --- a/core/src/utils/test/playwright/page/utils/set-content.ts +++ b/core/src/utils/test/playwright/page/utils/set-content.ts @@ -61,6 +61,4 @@ export const setContent = async (page: Page, html: string, testInfo: TestInfo) = await page.goto(`${baseUrl}#`); } - - await page.waitForFunction(() => (window as any).testAppLoaded === true, { timeout: 4750 }); };