You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficcontrol.apache.org by GitBox <gi...@apache.org> on 2021/02/01 22:51:03 UTC

[GitHub] [trafficcontrol] mitchell852 commented on a change in pull request #5473: Migrate internal TP test suite to open source

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 typescript@3.6.4 -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 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:
users@infra.apache.org