From f4fc38b1614231c545a0445126c5f1f468271df6 Mon Sep 17 00:00:00 2001 From: Janne Savolainen Date: Fri, 21 Oct 2022 13:21:27 +0300 Subject: [PATCH] Adapt more integration tests to recent changes Signed-off-by: Janne Savolainen --- integration/__tests__/command-palette.tests.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/integration/__tests__/command-palette.tests.ts b/integration/__tests__/command-palette.tests.ts index 7b4d675ef4..670a64c679 100644 --- a/integration/__tests__/command-palette.tests.ts +++ b/integration/__tests__/command-palette.tests.ts @@ -10,7 +10,7 @@ describe("Lens command palette", () => { let window: Page; let cleanup: undefined | (() => Promise); let app: ElectronApplication; - + beforeEach(async () => { ({ window, cleanup, app } = await utils.start()); await utils.clickWelcomeButton(window); @@ -25,7 +25,7 @@ describe("Lens command palette", () => { await app.evaluate(async ({ app }) => { await app.applicationMenu ?.getMenuItemById("view") - ?.submenu?.getMenuItemById("command-palette") + ?.submenu?.getMenuItemById("open-command-palette") ?.click(); }); await window.waitForSelector(".Select__option >> text=Hotbar: Switch");