Socket
Socket
Sign inDemoInstall

protractor-cucumber-framework

Package Overview
Dependencies
209
Maintainers
3
Versions
96
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 6.2.0 to 6.2.1

2

index.js

@@ -32,3 +32,3 @@ const debug = require('debug')('protractor-cucumber-framework');

state.initialize(runner, results, opts.strict);
state.initialize(runner, results, opts.strict, opts.retry);

@@ -35,0 +35,0 @@ return q.promise(function(resolve, reject) {

@@ -178,2 +178,3 @@ let state = require('./runState');

featureName: feature.name,
attemptNumber: data.testCase.attemptNumber,
progress

@@ -227,2 +228,3 @@ };

featureName,
attemptNumber,
progress

@@ -239,9 +241,15 @@ }) {

case Cucumber.Status.FAILED:
emitterEvent = 'testFail';
scenarioFailed = true;
stepResults.assertions.push({
passed: false,
errorMsg: exception.message,
stackTrace: exception.stack
});
if (
state.strict ||
!state.retries ||
attemptNumber - 1 === state.retries
) {
emitterEvent = 'testFail';
scenarioFailed = true;
stepResults.assertions.push({
passed: false,
errorMsg: exception.message,
stackTrace: exception.stack
});
}
break;

@@ -248,0 +256,0 @@

var state = {};
state.initialize = function(runner, results, strict) {
state.initialize = function(runner, results, strict, retries) {
state.runner = runner;
state.results = results;
state.strict = strict;
state.retries = retries;
};
module.exports = state;
{
"name": "protractor-cucumber-framework",
"version": "6.2.0",
"version": "6.2.1",
"description": "Protractor framework for Cucumber.js",

@@ -5,0 +5,0 @@ "main": "index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc