Generic ruby cucumber framework using selenium webdriver
- Allure report
- Cucumber JSON report
- Cucumber feature - cucumber - step-definition
- Cross browser support
- Logger
- Screenshots on failure
- Retry on failure
docker-compose up -d --scale node-chrome=2
rake spec DOCKER=ON
docker-compose down
docker build -t <image_name> .
docker run -d -t <image_name>
rake spec
rake allure
allure generate reports/allure-results-json/ --clean && allure open
allure generate reports/allure-results-json/ -o reports/allure-results-html --clean && allure open reports/allure-results-html/
# chrome
rake allure BROWSER=chrome
# firefox
rake allure BROWSER=firefox
source /usr/local/rvm/scripts/rvm
export DISPLAY=:20
Xvfb :20 -screen 0 1366x768x16 &
cucumber features/scenario/demo/google.feature
source /usr/local/rvm/scripts/rvm
cucumber features/scenario/demo/google.feature MODE=headless
rake allure LOGGER=ON