Closed hamzazaidi closed 2 years ago
@tnicola do you have opinion this ?
Hi @hamzazaidi , I didn't know about this cucumber preprocessor issue. Yes it makes sense to have that check as default and just disable it when not needed.
With v0.8.4 you can now run your test and disable that check with the new strictMode flag: -m false
. Give it a try and let me know!
@tnicola works really well. Thanks
When using cypress cucumber preprocessor in a typical setup the
.feature
file and stepDefinition folder lives in the integration folder of cypress, in cli.jshttps://github.com/tnicola/cypress-parallel/blob/master/lib/cli.js#L90
This line above is not letting the process to be finish because the statement is always falsy.
testSuitePaths
is returning the files that include.feature
files andresultMaps
only return the number of test runs which will never going to match.This check is not fool prove it has made assumption
if (timeMap.size !== testSuitePaths.length)
, it assumes thattestSuitePaths
will always going to have the number of files equal to files inresultMaps
.This tool has a great potential but this needs to be fix by some way, i am suggesting to optionally ignore the check and let consumer decide if they want to that check or add modes like
strict: true
and do this check else ignore this check.