Skip to content

Latest commit

 

History

History
45 lines (31 loc) · 918 Bytes

README.md

File metadata and controls

45 lines (31 loc) · 918 Bytes

Protractor codelab

Protractor codelab

See the slides

Installation instructions

# Clone this repo
$ git clone https://github.com/andresdominguez/protractor-codelab.git
$ cd protractor-codelab

# Install dependencies
$ npm install

How to run test tests

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

If you get an error

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