From fd1f415a1a6d03136bd43d651a95bea58d6b0883 Mon Sep 17 00:00:00 2001 From: Jim Ehrismann Date: Wed, 26 Jan 2022 20:41:57 -0500 Subject: [PATCH] skip command palette integration test on windows due to playwright issue Signed-off-by: Jim Ehrismann --- integration/__tests__/command-palette.tests.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/integration/__tests__/command-palette.tests.ts b/integration/__tests__/command-palette.tests.ts index da45b078f6..b1d43bcd2e 100644 --- a/integration/__tests__/command-palette.tests.ts +++ b/integration/__tests__/command-palette.tests.ts @@ -5,6 +5,7 @@ import type { ElectronApplication, Page } from "playwright"; import * as utils from "../helpers/utils"; +import { isWindows } from "../../src/common/vars"; describe("Lens command palette", () => { let window: Page, cleanup: () => Promise, app: ElectronApplication; @@ -19,7 +20,8 @@ describe("Lens command palette", () => { }, 10*60*1000); describe("menu", () => { - it("opens command dialog from menu", async () => { + // skip on windows due to suspected playwright issue with Electron 14 + utils.itIf(!isWindows)("opens command dialog from menu", async () => { await app.evaluate(async ({ app }) => { await app.applicationMenu .getMenuItemById("view")