This repository is an experiment using nodejs, Cucumber, Selenium and Docker to run e2e tests and output a JSON Cucumber Report.
There are two scripts to help you with that.
./util-docker-build-and-run-on-chrome.sh
./util-docker-build-and-run-on-firefox.sh
Before executing this experiment, download the browser drivers that matches your installed browser version:
After downloading it, decompress it inside the current repository and install the nodejs dependencies:
npm install
SELENIUM_BROWSER=chrome npm test -- --tags @search --format json
SELENIUM_BROWSER=firefox npm test -- --tags @search --format json