From 6f5a0284d538f6de26cb0a86f37d6ecd270ee5ff Mon Sep 17 00:00:00 2001 From: Sebastian Malton Date: Mon, 3 Oct 2022 15:30:35 -0400 Subject: [PATCH] Add logging Signed-off-by: Sebastian Malton --- integration/helpers/utils.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/integration/helpers/utils.ts b/integration/helpers/utils.ts index 5b49a50fdd..2ba4a11c46 100644 --- a/integration/helpers/utils.ts +++ b/integration/helpers/utils.ts @@ -26,6 +26,8 @@ async function getMainWindow(app: ElectronApplication, timeout = 50_000): Promis const stdoutStream = new Writable(stdoutBuffer); const handler = (page: Page) => { + console.log(`Page opened: ${page.url()}`); + if (page.url().startsWith("http://localhost")) { cleanup(); resolve(page);