Protractor codelab
See the slides
# Clone this repo
$ git clone https://github.com/andresdominguez/protractor-codelab.git
$ cd protractor-codelab
# Install dependencies
$ npm install
The tests run against an Angular application. To start the Angular application run the following command:
$ npm run server
Once the server is running you need to run the protractor tests. Open a new terminal window and run the following command:
$ npm run test
You may get an error while installing protractor. Here is the workaround:
# Install protractor
$ npm install protractor -g
$ webdriver-manager update
# Run the tests, run on protractor-codelab
$ protractor