From 32cd7e7b06f520e01851bf84a6e1e9bfca815470 Mon Sep 17 00:00:00 2001 From: Sebastian Malton Date: Thu, 9 Mar 2023 15:57:10 -0500 Subject: [PATCH] Fix integration tests Signed-off-by: Sebastian Malton --- .../open-lens/integration/__tests__/app-preferences.tests.ts | 2 +- packages/open-lens/integration/__tests__/cluster-pages.tests.ts | 2 +- .../open-lens/integration/__tests__/command-palette.tests.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/open-lens/integration/__tests__/app-preferences.tests.ts b/packages/open-lens/integration/__tests__/app-preferences.tests.ts index 08ebfb6a26..1d7d7029fb 100644 --- a/packages/open-lens/integration/__tests__/app-preferences.tests.ts +++ b/packages/open-lens/integration/__tests__/app-preferences.tests.ts @@ -10,7 +10,7 @@ cluster and vice versa. */ import type { ElectronApplication, Page } from "playwright"; -import * as utils from "@k8slens/utilities"; +import * as utils from "../helpers/utils"; describe("preferences page tests", () => { let window: Page; diff --git a/packages/open-lens/integration/__tests__/cluster-pages.tests.ts b/packages/open-lens/integration/__tests__/cluster-pages.tests.ts index e511e85454..c9130c4f59 100644 --- a/packages/open-lens/integration/__tests__/cluster-pages.tests.ts +++ b/packages/open-lens/integration/__tests__/cluster-pages.tests.ts @@ -9,7 +9,7 @@ TEST_NAMESPACE namespace. This is done to minimize destructive impact of the cluster tests on an existing minikube cluster and vice versa. */ -import * as utils from "@k8slens/utilities"; +import * as utils from "../helpers/utils"; import { minikubeReady } from "../helpers/minikube"; import type { Frame, Page } from "playwright"; import { groupBy, toPairs } from "lodash/fp"; diff --git a/packages/open-lens/integration/__tests__/command-palette.tests.ts b/packages/open-lens/integration/__tests__/command-palette.tests.ts index c5ff9356d1..670a64c679 100644 --- a/packages/open-lens/integration/__tests__/command-palette.tests.ts +++ b/packages/open-lens/integration/__tests__/command-palette.tests.ts @@ -4,7 +4,7 @@ */ import type { ElectronApplication, Page } from "playwright"; -import * as utils from "@k8slens/utilities"; +import * as utils from "../helpers/utils"; describe("Lens command palette", () => { let window: Page;