Make tooltip tests more robust
This commit is contained in:
parent
152414861c
commit
6ffe31795b
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue