rht-labs / labs-ci-cd

👻UNMAINTAINED - A collection of Red Hat Open Innovation Labs CI/CD components
Apache License 2.0
101 stars 70 forks source link

Create Selenium Jenkins Agents for Chrome and Firefox #235

Closed InfoSec812 closed 5 years ago

InfoSec812 commented 5 years ago

As a DevOps team member, I need to be able to run Selenium tests from within Jenkins pipelines. In order to run Selenium tests, I need a Jenkins Agent which can execute Google Chrome and Firefox web browsers in a "headless" environment using Xvfb running as a non-root user.

springdo commented 5 years ago

yo @InfoSec812 - we have the jenkins-npm-slave which has latest chrome installed in it; and if you look at the enbalement material we do some headless selenium testing against chrome. On our current residency we're using Chrome headless / Firefox headless using the Zalenium stuff from upstream container-quickstarts. Happy to share our code for that as we've integrated it into a mvn build toolchain and a npm one. Also Emanuel has ported the config to our local labs-ci-cd so am sure he can share his findings on getting it running. Pretty sure he encountered some issues and privallege stuff

sherl0cks commented 5 years ago

seems like this stuff should live in quickstarts now. closing this issue. Feel free to open in quickstarts