Protractor framework for Cucumber.js - modified to work with sharded tests - official repository here : https://github.com/protractor-cucumber-framework/protractor-cucumber-framework and here : https://www.npmjs.com/package/protractor-cucumber-framework
npm install protractor-cucumber-framework-sharded-testsProtractor Cucumber Framework
=============================

!! Not the official repository !! - modified to work with sharded tests - official repositories here :
github : https://github.com/protractor-cucumber-framework/protractor-cucumber-framework
npm : https://www.npmjs.com/package/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-sharded-tests
Implementation
--------------
To implement this framework, utilize the protractor custom framework config option:
``js
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