Visit AngularJS NES Home Page Create an
Protractor
How to incorporate Protractor into your project
Minimum Requirements
Please review our Minimum Requirements to ensure a smooth installation. Then follow 3 easy steps:
- Update your
package.json - Create or update your
.npmrcfile - Install & Run!
Detailed Instructions
Substitute the Protractor dependencies in your package.json with the following
package.json
{
"dependencies": {
"protractor": "npm:@neverendingsupport/protractor@7.0.0-protractor-7.0.1"
},
"overrides": {
"protractor": { ".": "npm:@neverendingsupport/protractor@7.0.0-protractor-7.0.1" }
}
}
Create an .npmrc file with the following
Replace <NES_ACCESS_TOKEN> with your access token.
.npmrc
@neverendingsupport:registry=https://registry.nes.herodevs.com/npm/pkg/
//registry.nes.herodevs.com/npm/pkg/:_authToken=<NES_ACCESS_TOKEN>
Artifactory/Package Manager Users
Some package managers have trouble with authToken packages. See Artifactory Instructions for more.
Install your dependencies and run the service
npm install
npm test # or whatever kicks off your protractor tests
And just like that, you can run your integration tests against Protractor NES!
Additional Information
Direct Download URLs
The direct download URL for is:
| Package | URL |
|---|---|
| protractor 7.0.0-protractor-7.0.1 | Download |