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