From 6ffe31795ba8c116e612f3ad747f0522874de23f Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Wed, 30 Nov 2022 12:58:13 +0000 Subject: [PATCH] Make tooltip tests more robust --- test/system/site_test.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/system/site_test.rb b/test/system/site_test.rb index 5528bb79b..65167989a 100644 --- a/test/system/site_test.rb +++ b/test/system/site_test.rb @@ -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.2) assert_selector ".tooltip", :text => "Zoom in" end end -- 2.39.5