in Development, Rails

Headless javascript tests with capybara-webkit and Ubuntu

After some struggle I found a working solution for integration testing with enabled javascript on my headless ubuntu setup.

We need an X-server and QT4

Gemfile:

/spec/rails_helper.rb

Webmentions

  • Headless javascript tests with poltergeist and Ubuntu – Entwicklerbier

    […] If you already have a nodejs dependency, I recommend the following solution for headless testing instead of my first one. […]