Socket
Socket
Sign inDemoInstall

protractor-cucumber-framework

Package Overview
Dependencies
40
Maintainers
2
Versions
97
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    protractor-cucumber-framework

Protractor framework for Cucumber.js


Version published
Maintainers
2
Install size
346 kB
Created

Readme

Source

Protractor Cucumber Framework

Build Status

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:

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

  // path relative to the current config file
  frameworkPath: require.resolve('protractor-cucumber-framework')
};

Contributing

Pull requests are welcome. Commits should have an appropriate message and be squashed.

For Contributors

Clone the github repository:

git clone https://github.com/mattfritz/protractor-cucumber-framework
cd protractor-cucumber-framework
npm install

Start up a selenium server. By default, the tests expect the selenium server to be running at http://localhost:4444/wd/hub. A selenium server can be started with webdriver-manager.

node_modules/.bin/webdriver-manager update --standalone
node_modules/.bin/webdriver-manager start

The test suite runs against the included test application. Start that up with

npm start

Then run the tests with

npm test

Keywords

FAQs

Last updated on 07 Apr 2016

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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