Add in Gemfile: group :development, :test do gem 'rspec-rails' gem 'spork-rails' end group :test do gem 'capybara'
To get parent of Capybara's node do the following: node = page.find '#selector' parent = node.find(:xpath, '..') parent_of_parent = node.find...
Best results in other decks
If you run a Rails app that is using Turbo, you might observe that your integration tests are unstable depending...
When RSpecs runs the first feature spec, you may see log output like this: Capybara starting Puma... * Version 6.5.0, codename...