Read more

Capybara 2.0 has been released

Ulrich Berkmueller
November 16, 2012Software engineer

The gem author Jonas Nicklas highlights in a Google Groups post Show archive.org snapshot that the release

  • is not backwards compatible to 1.x versions of Capybara
  • does not support Ruby 1.8.x anymore
  • removes confusion with Rails' built in integration tests (you put capybara rspec integration tests into the spec/feature/... folder) and the :type metadata has been changed from :request to :feature
  • throws exceptions when trying to interact with an element whose identifier is not unique on the page (in earlier versions it used the first detected element found by the identifier)
  • has a new syntax for writing integration tests with capybara in rspec Show archive.org snapshot (describe => feature, it => scenario)
Illustration web development

Do you need DevOps-experts?

Your development team has a full backlog? No time for infrastructure architecture? Our DevOps team is ready to support you!

  • We build reliable cloud solutions with Infrastructure as code
  • We are experts in security, Linux and databases
  • We support your dev team to perform
Read more Show archive.org snapshot

Excerpt of some other major changes Show archive.org snapshot

  • has_content? doesn't match hidden elements
  • body now returns the unmodified source
  • Node#wait_until and Session#wait_until have been removed. => Alternative: Node#synchronize
Posted by Ulrich Berkmueller to makandra dev (2012-11-16 07:43)