Rails 5.1 System tests on Travis-Ci

John Bolliger
Jul 10, 2017 · 1 min read

With the introduction of system tests in Rails 5.1, integration testing with a headless browser is now fully supported. Unfortunately getting these tests up and running on travis-ci is not that simple. Below I have included an example .travis.yml file that should help you get started:

I adapted this answer from here.

John Bolliger
Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade