SwiftkickWeb / FOODweek

Code for the meal planning app, Food Week
http://www.foodweek.me
0 stars 0 forks source link

Update capybara to support javascript tests #140

Open johnhutch opened 7 years ago

johnhutch commented 7 years ago

We need to decide if we want to go with CapybaraWebkit/QT or headless CapybaraSelenium/ChromeDriver for javascript tests. The former apparently runs faster, but I speak from experience when I say QT can be a real pain in the ass to install on macos, and can break with xcode updates. The latter is slightly slower, but significantly easier to install. It also does not have the benefit of getting to watch an automated browser do its thing, but then it's also not focus-stealing which is nice.

This was done on my old Tinder rails app, so we can reference basic structure there.

More info:

https://robots.thoughtbot.com/headless-feature-specs-with-chrome?utm_source=rubyweekly&utm_medium=email