Public Repository

Last pushed: 2 years ago
Short Description
This project have latest ruby and chrome version
Full Description

Docker file on git https://github.com/Kirikami/ruby-chrome-automation

docker pull kirikami/ruby-chrome-automation

Docker compose file :

 autotests:
  image: kirikami/ruby-chrome-automation
  volumes: 
    - .:/<test folder>
   environment: 
     TEST_URL: <url which will be tested>
  command: sleep infinity

docker-compose build docker-compose up -d
Example of script for running tests: `docker exec -it <docker container> ./run_tests.sh

#!/usr/bin/env bash

cd /oms_automation
gem install bundler
bundler install

xvfb-run -s "-screen 0 1920x1080x16" bundle exec cucumber -p <profile if needed> --expand -f AllureCucumber::Formatter --out allureoutput.log URL=$TEST_URL 

Checkout allure report checkout_report.sh <docker container>

#!/usr/bin/env bash

docker cp $1:/<volume folder>/gen ./gen
allure generate gen/allure-results
allure report open
Docker Pull Command
Owner
kirikami

Comments (0)