Protractor e2e test automation for PTC-Pioneer (v3.0+)
npm install pioneer-e2e-automationThis is a protractor test automation framework which is being built for automation end to end flows for Pioneer Application (v3.0+)
Clone this repository on your local machine using below git command
```
git clone git@github.com:PtcUniversity/ULC-E2E-Automation.git
* Node.js should be installed
* Run the below command which will add all the project dependencies( protractor and allure jasmine reports).
``
npm install
* Create Node.js run configuration in WebStorm for running test suites.
``
Node Parameters:
Application Parameters:
* Install Maven for generating allure HTML reports and add the binary to the path environment variable.
* Download BrowserMob Proxy Server from the following URL and start it before running tests
(In case you have chosen a different port for the server other than 8080 then specify the same in the conf.js)
Run BrowserMob proxy as
browsermob-proxy-2.1.1-bin\browsermob-proxy-2.1.1\bin>browsermob-proxy -port <
Run npm install in project directory
``
http://bmp.lightbody.net/
* Maven command to run the protractor tests mvn clean install$3
* After running the test allure-results folder will be created at the root
* If pom.xml is not present at root then copy the pom.xml from the jasmine-allure-reporter node modules
* Run following maven command
`
mvn site -Dallure.results_pattern=allure-results
``* Open the index.html located in ./target/site/allure-maven-plugin/