]> git.openstreetmap.org Git - rails.git/commitdiff
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 60322763e133b329d8cfb4e23a018ba05b75cabb..96406b5a3c5fc58000e326ba0b16cdca17a09ecc 100644 (file)
@@ -11,7 +11,7 @@ ActiveSupport.on_load(:action_dispatch_system_test_case) do
 end
 
 class ApplicationSystemTestCase < ActionDispatch::SystemTestCase
 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")
 
   def initialize(*args)
     stub_request(:get, "https://api.hostip.info/country.php?ip=127.0.0.1")