From 79ccaaef140ea385d13c91503aa9d84d20954da5 Mon Sep 17 00:00:00 2001 From: Lachlan Miller Date: Tue, 8 Nov 2022 13:29:42 +1000 Subject: [PATCH] chore: skip flaky tests on windows only [skip ci] --- .../app/cypress/e2e/runner/reporter-ct-mount-hover.cy.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/app/cypress/e2e/runner/reporter-ct-mount-hover.cy.ts b/packages/app/cypress/e2e/runner/reporter-ct-mount-hover.cy.ts index f15912613c41..5d4a1bee4393 100644 --- a/packages/app/cypress/e2e/runner/reporter-ct-mount-hover.cy.ts +++ b/packages/app/cypress/e2e/runner/reporter-ct-mount-hover.cy.ts @@ -12,9 +12,12 @@ const PROJECTS: {projectName: ProjectDirs[number], test: string}[] = [ { projectName: 'nuxtjs-vue2-configured', test: 'Tutorial.cy' }, ] +// These are especially flaky on windows, skipping them there. +const describeSkipIfWindows = Cypress.platform === 'win32' ? it.skip : it + // TODO: Add these tests to another cy-in-cy framework test to reduce CI cost as these scaffolding is expensive for (const { projectName, test } of PROJECTS) { - describe(`CT Mount ${projectName}`, { viewportWidth: 1500, defaultCommandTimeout: 30000 }, () => { + describeSkipIfWindows(`CT Mount ${projectName}`, { viewportWidth: 1500, defaultCommandTimeout: 30000 }, () => { beforeEach(() => { cy.scaffoldProject(projectName) cy.findBrowsers()