Accessing Firefox from a container: helpful in doing multibrowser testing. install X Windows System, Firefox, a VNC server set up the VNC server to start X Windows System, which will start Firefox. git clone cd Fedora-Dockerfiles/firefox # Modify Dockerfile to correct bug docker build -t fedora/firefox . #docker build -t agilelabtest/firefox . #docker run -it -p 5901:5901 fedora/firefox #docker run -d -p 5901:5901 -v /etc/machine-id:/etc/machine-id /firefox give 123456 as the password In order to connect to the VNC server inside the container, from another terminal: vncviewer localhost:1 xulrunner-26.0-2.fc20.x86_64 docker run -d -p 4444:4444 -p 5900:5900 -v /dev/shm:/dev/shm selenium/standalone-chrome-debug:3.11.0-californium docker run -d -p 4444:4444 -p 5900:5900 -v /dev/shm:/dev/shm selenium/standalone-firefox-debug:3.11.0-californium docker port flamboyant_wiles 5900 password : secret # ./bin/vncview vncview Exécuter des tests cucumber: gem install cucumber gem install rake gem install pkg-config -v "~> 1.1" bundle install #bundle config build.nokogiri --use-system-libraries #bundle install # To run all features: rake # To run a specific feature: cucumber features/search.feature # To debug a specific step call save_and_open_page within the step

Pensées pour mieux produire

Soyez prévenu dès que mon livre "Pensées pour mieux produire" sera disponible à la vente !

DevOps, Agile, Scrum, Kanban, XP, SAFe, LeSS, Lean Startup, Lean UX, Design Thinking, Craftmanship, Management 3.0, ...


Bruno Delb

Agile Coach and DevOps, with an experience in the Medical Device software domain, Management 3.0, Agile games and development (especially on mobile) are my passion.