I get to set up a CI box that is running on a Linux environment with no display. Therefore, Headless Cucumber is the solution.
Under “features/support”, in “env.rb”, add the following piece of code:
require ‘headless’
headless = Headless.new
headless.start
at_exit do
headless.destroy
end
Leave a Reply