added more time to ajax timeout
authorNico Cesar <nico@curoverse.com>
Thu, 3 Dec 2015 22:13:31 +0000 (17:13 -0500)
committerNico Cesar <nico@curoverse.com>
Thu, 3 Dec 2015 22:13:31 +0000 (17:13 -0500)
refs #7942

apps/workbench/test/integration_helper.rb

index 74072caaad1e7302d19117f48c6d368fa3d6a4d0..48d2cb5f6d3123513e345a24c5489d2893fb3f2e 100644 (file)
@@ -56,7 +56,7 @@ Capybara.register_driver :selenium_with_download do |app|
 end
 
 module WaitForAjax
-  Capybara.default_max_wait_time = 5
+  Capybara.default_max_wait_time = 10
   def wait_for_ajax
     Timeout.timeout(Capybara.default_max_wait_time) do
       loop until finished_all_ajax_requests?