Commit 0ed686fe authored by Mikaël Salson's avatar Mikaël Salson

vidjil_browser.rb: Generalise the access to any item in the export menu

parent 305b092c
......@@ -143,10 +143,14 @@ class VidjilBrowser < Watir::Browser
return div(:id => 'settings_menu')
end
def menu_item_export_fasta
def menu_item_export(id)
menu = menu_import_export
menu.click
return menu.a(:id => 'export_fasta')
return menu.a(:id => id)
end
def menu_item_export_fasta
return menu_item_export('export_fasta')
end
def merge
......
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