Changed default capybara behaviour to ignore hidden elements removing

as it is the more natural behaviour and helps reduce the number of
ambigious matches
pull/251/head
Sebastian Schuster 11 years ago
parent 81592e1027
commit 18d81eed43
  1. 2
      features/support/env.rb

@ -36,7 +36,7 @@ Capybara.configure do |config|
config.default_selector = :css
config.default_wait_time = 10
config.exact_options = true
config.ignore_hidden_elements = false
config.ignore_hidden_elements = true
config.match = :one
config.visible_text_only = true
end

Loading…
Cancel
Save