mitchell852 commented on a change in pull request #5473: URL: https://github.com/apache/trafficcontrol/pull/5473#discussion_r568195950
########## File path: traffic_portal/test/integration/Readme.md ########## @@ -0,0 +1,20 @@ +# Traffic Portal Test Automation + +### Test Development Environment Setup +--- +* Install [Node](http://nodejs.org) (v6.x.x or later) `brew install node` +* Follow setup steps described [here](http://www.protractortest.org/#/tutorial#setup) +* Now install packages manager: `npm install` +* Now install protractor `npm i protractor` +* Now install typescript `npm install [email protected] -g` +* Now install selenium standalone- `sudo webdriver-manager update` +* In a separate command line window, run `sudo webdriver-manager start` and keep it running. +* Run CDN-in-a-Box and make sure all the components and features display. + +### Run Tests +--- +run `tsc` from integration directory. This command will compile and convert the typescript files into javascript files. The generated js files are available in integration/GeneratedCode directory +run `protractor ./GeneratedCode/config.js --params.baseUrl='https://localhost:443'` from integration directory. This command will run the protractor test from the environment user input. + +### Test Automation Framework Review comment: @dpham692 - can you delete this section (Test Automation Framework) of the readme as well as delete trafficportal/tp-framework.png ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
