I'm trying to create feature specs for my site, but I've hit a stumbling block pretty much right out of the gate.
When I try and run a capybara javascript feature spec, it fails but doesn't end the test or close the browser window.
running this test
RSpec.feature "Whatever", type: :feature, js: true do
scenario "whatever again" do
visit "/whatever_url"
expect(true).to eq(true)
end
end
results in
Whatever
whatever again (FAILED - 1)
and hangs there for hours, no messages about what is causing the failure
I've tried with both the selenium and webkit javascript drivers. They're mostly working since when I run them with more complex actions they carry them out, it's just the finishing the test part that is giving me trouble.
I'm running it with rails 4.2.4, rspec 3.5.1, capybara 2.7.1, and ubuntu 15.10. If there's any other useful data I should include please let me know