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:

  1. Update your package.json
  2. Create or update your .npmrc file
  3. 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 either your access token or a valid email

.npmrc
@neverendingsupport:registry=https://registry.nes.herodevs.com/npm/pkg/
//registry.nes.herodevs.com/npm/pkg/:_authToken=<NES_ACCESS_TOKEN>

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 Protractor NES is:

PackageURL
protractor
7.0.0-protractor-7.0.1
Download