skip preferences integration test on windows due to playwright issue

Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
This commit is contained in:
Jim Ehrismann committed 2022-01-26 17:10:59 -05:00
1 parent f89ffb66bc
commit 4c1ee544bc
1 file changed
+3 -1
@@ -11,6 +11,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("preferences page tests", () => { describe("preferences page tests", () => {
let window: Page, cleanup: () => Promise<void>; let window: Page, cleanup: () => Promise<void>;
@@ -33,7 +34,8 @@ describe("preferences page tests", () => {
await cleanup(); await cleanup();
}, 10*60*1000); }, 10*60*1000);
it('shows "preferences" and can navigate through the tabs', async () => { // skip on windows due to suspected playwright issue with Electron 14
utils.itIf(!isWindows)('shows "preferences" and can navigate through the tabs', async () => {
const pages = [ const pages = [
{ {
id: "application", id: "application",