From e7b7a169b2a3808426839bf5b725421cb7760dd0 Mon Sep 17 00:00:00 2001 From: Sebastian Malton Date: Thu, 22 Dec 2022 14:45:17 -0500 Subject: [PATCH] Fix integration tests Signed-off-by: Sebastian Malton --- integration/helpers/utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/integration/helpers/utils.ts b/integration/helpers/utils.ts index f3354919c2..26b175a138 100644 --- a/integration/helpers/utils.ts +++ b/integration/helpers/utils.ts @@ -26,7 +26,7 @@ async function getMainWindow(app: ElectronApplication, timeout = 50_000): Promis const onWindow = (page: Page) => { console.log(`Page opened: ${page.url()}`); - if (page.url().startsWith("https://localhost")) { + if (page.url().endsWith("OpenLens.html")) { cleanup(); console.log(stdoutBuf); resolve(page);