]> git.openstreetmap.org Git - rails.git/blobdiff - test/system/site_test.rb
Increase delay to improve test reliability
[rails.git] / test / system / site_test.rb
index 5528bb79bb6a11ebb51a0104cc94b78dd9213e1e..0fa524675ce3cc68200d18de43a2e9e472be3926 100644 (file)
@@ -71,7 +71,9 @@ class SiteTest < ApplicationSystemTestCase
       find("h1").hover # un-hover original element
 
       visit "#map=10/0/0"
+      assert_no_selector ".tooltip"
       find(selector).hover
+      sleep(0.5)
       assert_selector ".tooltip", :text => "Zoom in"
     end
   end