Skip to content

Latest commit

 

History

History
44 lines (27 loc) · 634 Bytes

README.md

File metadata and controls

44 lines (27 loc) · 634 Bytes

AngularJS end-to-end test

How to mock a real backend http request. Follow the below steps:


1. Installing

Clone the repository:

https://github.com/leandroh/angularjs-e2e-mock

Install dependencies:

npm install

2. Running AngularJS application test

Start a static web server to run the test application:

npm start

3. Selenium Server

Open a new terminal window and start up the Selenium Server:

./node_modules/.bin/webdriver-manager start

4. Protractor tests

Run the tests against the sample application in a new terminal window:

npm test