We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1b9e560 commit 1909a19Copy full SHA for 1909a19
bin/helpers/utils.js
@@ -333,7 +333,7 @@ exports.setCypressNpmDependency = (bsConfig) => {
333
if (runSettings.npm_dependencies !== undefined &&
334
Object.keys(runSettings.npm_dependencies).length !== 0 &&
335
typeof runSettings.npm_dependencies === 'object') {
336
- if (!("cypress" in runSettings.npm_dependencies) && Constants.CYPRESS_V10_AND_ABOVE_TYPE) {
+ if (!("cypress" in runSettings.npm_dependencies) && runSettings.cypressTestSuiteType === Constants.CYPRESS_V10_AND_ABOVE_TYPE) {
337
logger.warn("Missing cypress not found in npm_dependencies");
338
if("cypress_version" in runSettings){
339
runSettings.npm_dependencies.cypress = `^${runSettings.cypress_version.toString().split(".")[0]}`;
0 commit comments