Public | Automated Build

Last pushed: a year ago
Short Description
Firefox with cucumber hook
Full Description

running headless cukes

docker run -it -v /root/ruby_cuke_demo:/opt/app-root/src cucumber-runner bash -c 'source /opt/rh/rh-ruby22/enable ; export PATH=$PATH:/opt/rh/rh-ruby22/root/usr/local/bin ; Xvfb :99 -ac & bundle ; bundle exec rake features:all'

Observing run via VNC

You can observe and interact with the containerised firefox via vnc like so:

docker run -e VNC=Y -p 5900:5900 -v $(pwd):/opt/src pp2l/cucumber-runner

Connect your VNC client to port 5900 (native mac "Screen Sharing.app" works). The password is showme.

If you are on a mac and are using docker-machine instead of the native docker beta, then you will need to additionally map port 5900 in the docker-machine VM and ensure you pass -e APP_URL and -e SERVER_URL to the container accordingly.

Docker Pull Command
Owner
pp2l
Source Repository