Increase poltergeist timeout
authorTom Hughes <tom@compton.nu>
Wed, 14 Aug 2019 18:48:21 +0000 (19:48 +0100)
committerTom Hughes <tom@compton.nu>
Wed, 14 Aug 2019 18:54:50 +0000 (19:54 +0100)
test/application_system_test_case.rb

index 6032276..96406b5 100644 (file)
@@ -11,7 +11,7 @@ ActiveSupport.on_load(:action_dispatch_system_test_case) do
 end
 
 class ApplicationSystemTestCase < ActionDispatch::SystemTestCase
-  driven_by :poltergeist, :screen_size => [1400, 1400]
+  driven_by :poltergeist, :screen_size => [1400, 1400], :options => { :timeout => 120 }
 
   def initialize(*args)
     stub_request(:get, "https://api.hostip.info/country.php?ip=127.0.0.1")