An open API service indexing awesome lists of open source software.

https://github.com/wlsf82/protractor-todomvc

This repository was created to share some tests that I did, to demonstrate the basic use of Protractor for end to end testing for AngularJS apps
https://github.com/wlsf82/protractor-todomvc

Last synced: about 1 month ago
JSON representation

This repository was created to share some tests that I did, to demonstrate the basic use of Protractor for end to end testing for AngularJS apps

Awesome Lists containing this project

README

          

protractor-todomvc
==================

⚠️ **This project has been deprecated.** ⚠️

To install protractor and the webdriver-manager, run the following command:

npm install -g protractor

Then update the webdriver-manager with the below command:

webdriver-manager update

And to start the webdriver-manager (needed for the test execution), let a terminal opened and run the following command:

webdriver-manager start

_____________________________________________________________________________________________________

The conf.js file provides the information from where the Selenium Webdriver will be running, and which spec file must be used for the test execution.
It can also provide information about which browser will be used for testing, or even if multi-browser testing is needed.

The spec.js file has the tests themselves.

And the *.helper.js files are just helpers to keep the repeated complex logic code separated from the test.

_____________________________________________________________________________________________________

To install the protractor version focused on performance testing, use the below command:

npm install -g protractor-perf

And then to execute the protractor tests focusing on performance metrics, using the following command on the folder where the tests are:

protractor-perf conf.js