Fix integration tests

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton committed 2022-12-22 14:45:17 -05:00
1 parent ca7c3c1284
commit e7b7a169b2
1 file changed
+1 -1
+1 -1
View File
@@ -26,7 +26,7 @@ async function getMainWindow(app: ElectronApplication, timeout = 50_000): Promis
const onWindow = (page: Page) => { const onWindow = (page: Page) => {
console.log(`Page opened: ${page.url()}`); console.log(`Page opened: ${page.url()}`);
if (page.url().startsWith("https://localhost")) { if (page.url().endsWith("OpenLens.html")) {
cleanup(); cleanup();
console.log(stdoutBuf); console.log(stdoutBuf);
resolve(page); resolve(page);