Socket
Socket
Sign inDemoInstall

protractor-cucumber-framework

Package Overview
Dependencies
209
Maintainers
3
Versions
97
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.1.0 to 3.1.1

14

lib/resultsCapturer.js

@@ -1,2 +0,1 @@

let q = require('q');
let state = require('./runState');

@@ -17,8 +16,7 @@ let Cucumber = require('./cucumberLoader').load();

this.registerHandler('BeforeFeatures', function (event, callback) {
this.registerHandler('BeforeFeatures', function() {
clearResults();
callback();
});
this.registerHandler('AfterScenario', function (scenario, callback) {
this.registerHandler('AfterScenario', function(scenario) {
if (scenarioFailed) ++state.results.failedCount;

@@ -29,8 +27,6 @@ stepResults.description = get(scenario, 'name');

scenarioFailed = false;
let scenarioFinished = state.runner.afterEach ? state.runner.afterEach() : q();
scenarioFinished.then(callback);
if (state.runner.afterEach) return state.runner.afterEach();
});
this.registerHandler('StepResult', function(stepResult, callback) {
this.registerHandler('StepResult', function(stepResult) {
let step = get(stepResult, 'step');

@@ -86,4 +82,2 @@ let scenario = get(step, 'scenario');

}
callback();
});

@@ -90,0 +84,0 @@ }

{
"name": "protractor-cucumber-framework",
"version": "3.1.0",
"version": "3.1.1",
"description": "Protractor framework for Cucumber.js",

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

Protractor Cucumber Framework
=============================
[![npm-version](https://img.shields.io/npm/v/protractor-cucumber-framework.svg)](https://www.npmjs.com/package/protractor-cucumber-framework)
[![Join the chat at https://gitter.im/protractor-cucumber-framework/protractor-cucumber-framework](https://badges.gitter.im/protractor-cucumber-framework/protractor-cucumber-framework.svg)](https://gitter.im/protractor-cucumber-framework/protractor-cucumber-framework?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
[![Build Status](https://travis-ci.org/protractor-cucumber-framework/protractor-cucumber-framework.svg?branch=master)](https://travis-ci.org/protractor-cucumber-framework/protractor-cucumber-framework)
[![dependencies](https://david-dm.org/protractor-cucumber-framework/protractor-cucumber-framework/status.svg)](https://david-dm.org/protractor-cucumber-framework/protractor-cucumber-framework)
[![dev dependencies](https://david-dm.org/protractor-cucumber-framework/protractor-cucumber-framework/dev-status.svg)](https://david-dm.org/protractor-cucumber-framework/protractor-cucumber-framework?type=dev)
[![peer dependencies](https://david-dm.org/protractor-cucumber-framework/protractor-cucumber-framework/peer-status.svg)](https://david-dm.org/protractor-cucumber-framework/protractor-cucumber-framework?type=peer)
![download-count](https://img.shields.io/npm/dm/protractor-cucumber-framework.svg)
[![open-issues](https://img.shields.io/github/issues/protractor-cucumber-framework/protractor-cucumber-framework.svg)](https://github.com/protractor-cucumber-framework/protractor-cucumber-framework/issues)
[![contributors](https://img.shields.io/github/contributors/protractor-cucumber-framework/protractor-cucumber-framework.svg)](https://github.com/protractor-cucumber-framework/protractor-cucumber-framework/graphs/contributors)
This framework was originally part of [angular/protractor](https://github.com/angular/protractor) and

@@ -7,0 +16,0 @@ is now a separate module to decouple [cucumber.js](https://github.com/cucumber/cucumber-js).

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc