1
Install protractornpm install -g protractor
webdriver-manager update
Install reporting ( local installation ):
- cd ./confs/ and npm install command from the links below: ( if link no. 1 aint working fine for you, use the command from no. 2) 1 - html reporter 2 - html reporter
Run:
-
drop the required *.jsons in: utils folder
-
run
cmd
and start webdriver:webdriver-manager start
and leave the server running -
again run
cmd
-->cd ./confs/
-
run
protractor conf.js
-
to run a specific test page, in conf.js comment out all test excpet for the test that you want to execute e.g.
``` // '../tests/fibra.spec.js' // '../tests/vvv.spec.js' '../tests/notifs.spec.js' // '../tests/*.spec.js' ```
When tests are finished, it'll generate a html report for you. If there are any failures, the page screenhots are saved.