Commit 40c30d9a authored by Mikaël Salson's avatar Mikaël Salson Committed by Marc Duez
Browse files

test_browser.rb: select import data by its id not the text

The text may change not the ID
parent 5fd6a982
......@@ -45,7 +45,7 @@ class Browser < MiniTest::Test
assert (not $b.div(:id => 'popup-msg').present?), "Popup message still present"
$b.div(:id => 'demo_file_menu').click
$b.div(:id => 'demo_file_menu').a(:text => 'import data').click
$b.div(:id => 'demo_file_menu').a(:id => 'import_data_anchor').click
# select data file
$b.div(:id => 'file_menu').file_field(:name,"json").set(data_path)
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