Boilerplate Framework built using
Protractor-Cucumber-Typescript
tools
- 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: true
npm run webdriver-start
-
Clean reports, compile
.ts
to.js
scripts, and execute testsnpm test
or
bash runner/smoke.sh
-
Docker Execution
run tests from local machine
docker-compose up --force-recreate npm test docker-compose down
or
run tests from docker machine
docker-compose up -d --force-recreate bash docker-executor.sh docker-compose down