From d242c59a98e1e39be12b4c2232a0df551ece46e5 Mon Sep 17 00:00:00 2001 From: Sebastian Malton Date: Fri, 8 Oct 2021 15:59:26 -0400 Subject: [PATCH] Try to fix tests Signed-off-by: Sebastian Malton --- integration/__tests__/app-preferences.tests.ts | 4 ++-- integration/helpers/utils.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/integration/__tests__/app-preferences.tests.ts b/integration/__tests__/app-preferences.tests.ts index 4939686e41..47dffd6a90 100644 --- a/integration/__tests__/app-preferences.tests.ts +++ b/integration/__tests__/app-preferences.tests.ts @@ -33,7 +33,7 @@ describe("preferences page tests", () => { beforeEach(async () => { let app: ElectronApplication; - + ({ window, cleanup, app } = await utils.start()); await utils.clickWelcomeButton(window); @@ -74,7 +74,7 @@ describe("preferences page tests", () => { utils.itIf(process.platform !== "win32")("ensures helm repos", async () => { await window.click("[data-testid=kubernetes-tab]"); await window.waitForSelector("[data-testid=repository-name]", { - timeout: 100_000, + timeout: 140_000, }); await window.click("#HelmRepoSelect"); await window.waitForSelector("div.Select__option"); diff --git a/integration/helpers/utils.ts b/integration/helpers/utils.ts index e52ae1d87f..359332f0d4 100644 --- a/integration/helpers/utils.ts +++ b/integration/helpers/utils.ts @@ -93,7 +93,7 @@ export async function start() { } export async function clickWelcomeButton(window: Page) { - await window.click("#hotbarIcon-catalog-entity .Icon"); + await window.click("[data-testid=welcome-menu-container] li a"); } function minikubeEntityId() {