Commit ec3c9bf7 authored by Mikaël Salson's avatar Mikaël Salson

vidjil_browser.rb: Hover after clicking

When clicking it seems that the mouse isn't necessarily over the menu. Thus it
will open and close just after because the mouse isn't over the menu.

Fix #3987
parent 24ce6e00
Pipeline #95722 passed with stages
in 6 minutes and 10 seconds
......@@ -184,9 +184,7 @@ class VidjilBrowser < Watir::Browser
end
def menu_item_export(id, extra = {})
menu = menu_import_export
menu.click
return menu.a(extra.merge(:id => id))
return menu_item(id, extra)
end
def menu_item_export_fasta(extra = {})
......@@ -206,6 +204,7 @@ class VidjilBrowser < Watir::Browser
end
if parent.tag_name != "body"
parent.click
parent.hover
end
return item
end
......
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