From 236b072f9b7f5e82a31773318fc2646a7190454f Mon Sep 17 00:00:00 2001 From: Evan Mullins Date: Tue, 27 Feb 2024 16:02:39 -0500 Subject: [PATCH] update config to skip sitegen tests for now also remove php check since those versions have been removed from the matrix --- cypress.config.js | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/cypress.config.js b/cypress.config.js index 48ba6ad97..17c2baf26 100644 --- a/cypress.config.js +++ b/cypress.config.js @@ -52,13 +52,6 @@ module.exports = defineConfig( { config.env.phpSemverVersion = config.env.phpVersion; } } - // Exclude onboarding/ecommerce tests for PHP lower than 7.3 (7.1 and 7.2) - if ( semver.satisfies( config.env.phpSemverVersion, '<7.3.0' ) ) { - config.excludeSpecPattern = config.excludeSpecPattern.concat( [ - 'vendor/newfold-labs/wp-module-onboarding/tests/cypress/integration/3-ecommerce-onboarding-flow/**', - 'vendor/newfold-labs/wp-module-onboarding/tests/cypress/integration/2-general-onboarding-flow/top-priority.cy.js', - ] ); - } return config; }, @@ -71,6 +64,7 @@ module.exports = defineConfig( { testIsolation: false, excludeSpecPattern: [ 'vendor/newfold-labs/**/tests/cypress/integration/wp-module-support/*.cy.js', // skip any module's wp-module-support files + 'vendor/newfold-labs/wp-module-onboarding/tests/cypress/integration/5-AI-SiteGen-onboarding-flow/*.cy.js', // skip onboarding sitegen tests for now ], experimentalRunAllSpecs: true, },