Top "Capybara" questions

Capybara is a web application testing framework for Rack applications, such as Rails, Sinatra and Merb.

Switch to popup windows in cucumber, capybara

In RSpec i can use such code switch to popup window, link, How can i do such thing in Cucumber …

ruby capybara popupwindow
Case insensitive Rspec match

I'm writing a Capybara test and using Rspec for the assertions. My test is failing because there is a CSS …

ruby rspec capybara case-insensitive
Rspec view testing with capybara and rails3

I really like the way RSpec is able to separate controller and view tests but have some problems with getting …

ruby-on-rails-3 configuration rspec capybara matcher
How to fill_in datepicker using Capybara, Rails, MiniTest spec

I have a form_tag that generates the following HTML: <form accept-charset="UTF-8" action="http://www.example.com/product_…

ruby-on-rails-3 capybara minitest
Where/how to include helper methods for capybara integration tests

I"m using capybara for my integration/acceptance tests. They're in /spec/requests/ folder. Now I have a few helper …

ruby-on-rails ruby rspec capybara
How do poltergeist/PhantomJS and capybara-webkit differ?

What are the differences between PhantomJS and capybara-webkit? What are the advantages of capybara-webkit over PhantomJS? Which of the two …

capybara phantomjs capybara-webkit poltergeist
How to verify number of records using capybara

I am using capybara along with cucumber on a Rails 2.3.9 project. I have users index page and I have two …

html ruby cucumber capybara
Capybara expect page to have content more than once

Does anybody know how to find if a page has a text more than once? I know I can use …

rspec cucumber capybara
How to test a Select2 element with capybara DSL?

I have a Select2 element on a page that loads results via ajax. Would like to test this with capybara/…

ruby-on-rails capybara capybara-webkit jquery-select2
Testing error pages in Rails with Rspec + Capybara

In Rails 3.2.9 I have custom error pages defines like this: # application.rb config.exceptions_app = self.routes # routes.rb match …

ruby-on-rails ruby rspec capybara