Boilerplate Framework built using
Protractor-Cucumber-Typescripttools
- Page Object Pattern
- Hooks
- Parallel testing
- HTML Reporter
- Screenshots on failure
- Loggers
- TS task scheduler
- Slack integration
- Docker integration - Zalenium as a load balancer
-
Install libraries
npm install npm install -g jake -
Webdriver update lets you download the chrome & gecko driver binaries locally for you!
npm run webdriver-update -
Optional - start selenium server manually if you don't set
directConnect: truenpm run webdriver-start
-
Clean reports, compile
.tsto.jsscripts, and execute testsnpm testor
bash runner/smoke.sh -
Docker Execution
run tests from local machine
docker-compose up --force-recreate npm test docker-compose downor
run tests from docker machine
docker-compose up -d --force-recreate bash docker-executor.sh docker-compose down