protractor-stop-describe-on-failure
v1.0.4
Published
describe will stop executing it blocks after first fail
Downloads
3,772
Maintainers
Readme
protractor-stop-describe-on-failure
'describe' function will stop executing further 'it' blocks after the first error.
usage
The protractor-stop-describe-on-failurer is available via npm:
Protractor Version >= 6.0.0 npm i protractor-stop-describe-on-failure
Protractor Version < 6.0.0 npm i [email protected]
In your protractor configuration file, register the reporter in jasmine:
const DescribeFailureReporter = require('protractor-stop-describe-on-failure');
exports.config = {
onPrepare: function() {
jasmine.getEnv().addReporter(DescribeFailureReporter(jasmine.getEnv()));
}
}