]> 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 0ed755a0953d066b0381da4f95a70ab2b77e9b9d..0fa524675ce3cc68200d18de43a2e9e472be3926 100644 (file)
@@ -70,8 +70,10 @@ class SiteTest < ApplicationSystemTestCase
       assert_no_selector ".tooltip", :text => "Zoom in"
       find("h1").hover # un-hover original element
 
-      visit "/#map=10/0/0"
+      visit "#map=10/0/0"
+      assert_no_selector ".tooltip"
       find(selector).hover
+      sleep(0.5)
       assert_selector ".tooltip", :text => "Zoom in"
     end
   end