JSPM

  • Created
  • Published
  • Downloads 14551
  • Score
    100M100P100Q148960F
  • License MIT

Protractor framework for Cucumber.js

Package Exports

  • protractor-cucumber-framework

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (protractor-cucumber-framework) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Protractor Cucumber Framework

This framework was originally part of angular/protractor and is now a separate module to decouple cucumber.js.

Install

npm install --save-dev protractor-cucumber-framework

Implementation

To implement this framework, utilize the protractor custom framework config option:

var cucumberFrameworkPath = require('protractor-cucumber-framework').resolve();

exports.config = {
  // set to "custom" instead of cucumber.
  framework: 'custom',

  // path relative to the current config file
  frameworkPath: cucumberFrameworkPath
};