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

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')
def menu_item_export_fasta
def menu_item_export(id)
menu = menu_import_export
return menu.a(:id => 'export_fasta')
return menu.a(:id => id)
def menu_item_export_fasta
return menu_item_export('export_fasta')
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