Protractor+CucumberJS testing framework example
- java
- nodejs
- npm
npm install
report (single or consolidated, depends on config) is generated automatically after run and stored in reports/
npm run sanity
protractor configs/sanity.conf.js
./run-sanity-tests.sh
docker run --privileged --rm --shm-size 2g -e SCREEN_RES=1600x900x24 -v $(pwd):/protractor ifilatov/protractor-cucumber configs/dockerized.sanity.conf.js
- update the Dockerfile (responsible for software and versions)
- build new image with tag:
docker build ifilatov/protractor-cucumber:latest .
- push new image to the repo:
docker image push ifilatov/protractor-cucumber:latest
- update protractor.sh if needed (responsible for execution flow)
- update configs/dockerized.*.conf if needed (responsible for protractor settings)
docker repo for this project is https://hub.docker.com/r/ifilatov/protractor-cucumber/