Closed klodiya closed 7 years ago
What the solution ? i am trying to implement same. Flake file :
/**
./flake conf.js [other protractor args]
*/
//const rerun = require('./module');
const protractorFlake = require('protractor-flake');// skip first two passed args (node and self) let protractorArgs = process.argv.splice(2); protractorFlake({ protractorPath: 'node_modules/.bin/protractor', maxAttempts: 2, parser: 'multi', nodeBin: 'node', color: 'magenta', protractorArgs: protractorArgs }, function(status, output) { process.exit(status); });
What will be right way to implement parser which will execute only failed test
@Trisha1212 could you open a new issue with the test output? Typically this is due to a reporter or test framework tweak that is changing the output to an unexpected format.
Also, you shouldn't need to use a wrapper scrip like the one that you've posted, the protractor-flake
bin should do all that for you automatically.
Thanks! 😄
Thank you for the reply. https://github.com/NickTomlin/protractor-flake/issues/79
For example after the first run I have 46 tests failing from 22 specs. It prints and executes a list of only 11 specs. What can be the reason for that?