mitchell852 commented on a change in pull request #5497: URL: https://github.com/apache/trafficcontrol/pull/5497#discussion_r569794174
########## File path: traffic_portal/test/integration/Readme.md ########## @@ -1,18 +1,30 @@ # 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) +**Test Development Environment Setup** + +* Install [Node](http://nodejs.org) (v6.x.x or later): `brew install node` +* Follow setup steps described to install protractor: [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. +* 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 in a separate command line window and make sure all the components and features display. + +**How To Run Tests** -### 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. +Run this command below 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. +``` +tsc +``` +After that, run this command below to run the protractor test from the environment user input. +``` +protractor ./GeneratedCode/config.js --params.baseUrl='https://localhost:443' +``` +**Command Line Parameters** +| Flag | Description | +| ------------------------------- | :-------------------------------------------------------------: | +| params.baseUrl | Environment that test run on | +| capabilities.shardTestFiles | Input `true` or `false` to turn on or off parallelization | Review comment: can you say what the defaults are? ---------------------------------------------------------------- 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]
