Commit 6afd32b4 authored by Mathieu Giraud's avatar Mathieu Giraud

Merge branch 'feature-c/3987-fix-watir-test' into 'dev'

Fix watir tests

Closes #3987

See merge request !521
parents 24ce6e00 ec3c9bf7
Pipeline #95724 failed with stages
in 9 minutes and 23 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