Speed Up JavaScript Capybara Specs by Blacklisting URLs
Nov 23, 2014 · 1 minute readThis post was originally published on thoughtbot’s blog.
On a project recently, our full test suite began to crawl (taking ~9 minutes instead of less than 1) on our local machines running OS X but ran normally on CI. This slowdown took our productivity to near zero. We discovered our Capybara specs with js: true set were the culprit but we couldn’t figure out why.