increase Capybara.default_wait_time from 7 to 12 (#12822)

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11976 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2013-06-14 10:50:59 +00:00
parent 9b549fdfe9
commit c17347b7f7
1 changed files with 3 additions and 3 deletions

View File

@ -33,6 +33,9 @@ Capybara.register_driver :selenium do |app|
Capybara::Selenium::Driver.new(app, :browser => :remote)
end
# default: 2
Capybara.default_wait_time = 12
DatabaseCleaner.strategy = :truncation
module Redmine
@ -46,9 +49,6 @@ module Redmine
# uses a separate server thread, which the transactions would be hidden
self.use_transactional_fixtures = false
# default: 2
Capybara.default_wait_time = 7
# Should not depend on locale since Redmine displays login page
# using default browser locale which depend on system locale for "real" browsers drivers
def log_user(login, password)