Package Exports
- protractor-cucumber-framework-sharded-tests
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-sharded-tests) 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
!! 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:
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 installStart 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 startThe test suite runs against the included test application. Start that up with
npm startThen run the tests with
npm test