capybara
9 posts · All topics
- — Custom RSpec Meta Tag Validator
I’ve written my share of RSpec tests that look for specific meta tags in a web page under Capybara. It would be nice to be able to spell the following.
- — Precompiling Rails Assets before RSpec/Capybara Integration Tests
The first Capybara integration test always tends to timeout when compiling assets on-demand. It’s just damn too slow. Precompile your assets before the test is run.
- — Grape API Mounted on RACK w/ Static Pages, Tests, JQuery UI, Backbone.js and Even Mongo
Expanding from my previous post on a Grape API mounted on RACK.
- — Don't Hate UI Testing - Reliably Testing Asynchronous UI w/ RSpec & Capybara
- — Testing w/ Analytical Gem and RSpec
We use the Analytical gem to include various thirdparty Javascript in our Rails application. Our test environment was configured with dummy values in config/analytical.yml.
- — Capybara: Failed to Resynchronize, Ajax Request Timed Out (not caused by green elves)
I used to attribute this error to little green elves inside of Capybara, Selenium or Firefox. But, as usual, things turn out to have a much more reasonable explanation.
- — Unable to Obtain Stable Firefox Connection in 60 seconds: Downgrading Firefox on Ubuntu
- — Selecting items from a dropdown with Capybara, Selenium (Firefox) & JQuery
I am having a weird problem with Capybara and Selenium (Firefox) selecting items in a dropdown.
- — RSpec + Capybara Don't Return a Proper Exit Code
We’ve been trying to fix an issue with our continuous integration where Capybara tests were failing, but the CI process reported success. Rather annoying for CI!
