Commit d5462759 authored by Mathieu Giraud's avatar Mathieu Giraud

tests watir: $b.unselect also moves away from menus

parent d63e8547
......@@ -180,9 +180,10 @@ class VidjilBrowser < Watir::Browser
return tag_selector.button(:text => 'ok')
end
# Click in the back so that we unselect everything
# Unselect everything, both on clones, and move away from menus (as if we click on the back)
def unselect
$b.execute_script('m.unselectAll()')
$b.execute_script('showSelector("x")')
end
# Return the div of the list of clones
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment