When you write feature specs you can either have them run headlessly (i.e. invisibly) or not-headlessly, where you can actually see a browser instance being spun up and see your tests run in the browser.
I might be in the minority but I prefer to see the tests run in the browser, especially when I’m in the process of developing the tests.
Non-headless test running can be enabled with the following two steps.
First, add this to
Capybara.default_driver = :selenium_chrome
Then add these gems to the
group :development, :test do
And don’t forget to run
Now, when you run your tests, they should come up in Chrome.