Commit cdbcef54 authored by Mathieu Giraud's avatar Mathieu Giraud
Browse files

test: checks that a menu element is present

parent b3a71f5a
......@@ -71,7 +71,9 @@ class Browser < MiniTest::Test
$b.div(:id => 'demo_file_menu').click
# check the 'import data' menu element, and click on it
$b.div(:id => 'demo_file_menu').click
assert ($b.div(:id => 'demo_file_menu').a(:id => 'import_data_anchor')), "'import data' not present"
$b.div(:id => 'demo_file_menu').a(:id => 'import_data_anchor').click
# select data file
Supports Markdown
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