mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
skip command palette integration test on windows due to playwright issue
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
This commit is contained in:
1 parent
4c1ee544bc
commit
fd1f415a1a
1 file changed
+3
-1
@@ -5,6 +5,7 @@
|
|||||||
|
|
||||||
import type { ElectronApplication, Page } from "playwright";
|
import type { ElectronApplication, Page } from "playwright";
|
||||||
import * as utils from "../helpers/utils";
|
import * as utils from "../helpers/utils";
|
||||||
|
import { isWindows } from "../../src/common/vars";
|
||||||
|
|
||||||
describe("Lens command palette", () => {
|
describe("Lens command palette", () => {
|
||||||
let window: Page, cleanup: () => Promise<void>, app: ElectronApplication;
|
let window: Page, cleanup: () => Promise<void>, app: ElectronApplication;
|
||||||
@@ -19,7 +20,8 @@ describe("Lens command palette", () => {
|
|||||||
}, 10*60*1000);
|
}, 10*60*1000);
|
||||||
|
|
||||||
describe("menu", () => {
|
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.evaluate(async ({ app }) => {
|
||||||
await app.applicationMenu
|
await app.applicationMenu
|
||||||
.getMenuItemById("view")
|
.getMenuItemById("view")
|
||||||
|
|||||||
Reference in new issue
Block a user