Skip to content

leandroh/angularjs-e2e-mock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

AngularJS end-to-end testing: how to mock a real backend http request

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published