1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

Fix integration tests

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton 2022-12-22 14:45:17 -05:00
parent ca7c3c1284
commit e7b7a169b2

View File

@ -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);