Skip to content

Commit

Permalink
update config to skip sitegen tests for now
Browse files Browse the repository at this point in the history
also remove php check since those versions have been removed from the matrix
  • Loading branch information
circlecube committed Feb 27, 2024
1 parent a90dd46 commit 236b072
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions cypress.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
},
Expand All @@ -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,
},
Expand Down

0 comments on commit 236b072

Please sign in to comment.