mirror of
https://github.com/teamcapybara/capybara.git
synced 2022-11-09 12:08:07 -05:00
Capybara default selector is CSS instead of XPath
This commit is contained in:
parent
bbc8964439
commit
3b0d1d7e36
2 changed files with 2 additions and 2 deletions
|
@ -48,6 +48,6 @@ module Capybara
|
|||
end
|
||||
|
||||
Capybara.run_server = true
|
||||
Capybara.default_selector = :xpath
|
||||
Capybara.default_selector = :css
|
||||
Capybara.default_wait_time = 2
|
||||
Capybara.ignore_hidden_elements = false
|
||||
|
|
|
@ -13,7 +13,7 @@ alias :running :lambda
|
|||
Capybara.default_wait_time = 0 # less timeout so tests run faster
|
||||
|
||||
Spec::Runner.configure do |config|
|
||||
config.after do
|
||||
config.before do
|
||||
Capybara.default_selector = :xpath
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue