Commit 1b9a10ed authored by Mikaël Salson's avatar Mikaël Salson

browser/tests/functional: Use Firefox Marionette

parent e48d742d
......@@ -76,7 +76,7 @@ class BrowserTest < MiniTest::Test
# check the 'import data' menu element, and click on it
assert ($b.div(:id => 'demo_file_menu').present?), "File menu is not present"
# $b.div(:id => 'demo_file_menu').hover
$b.div(:id => 'demo_file_menu').hover
$b.div(:id => 'demo_file_menu').click
assert ($b.div(:id => 'demo_file_menu').a(:id => 'import_data_anchor').present?), "'import data' not present"
$b.div(:id => 'demo_file_menu').a(:id => 'import_data_anchor').click
......
......@@ -129,7 +129,7 @@ end
clustered = $b.clone_info('1')
assert (clustered[:name].text == 'clone2')
assert ($b.clone_in_scatterplot('1').present?)
assert (not $b.clone_in_scatterplot('2').present?)
$b.until{ not $b.clone_in_scatterplot('2').present? }
end
def test_08_select_cluster
......
......@@ -12,6 +12,8 @@ class VidjilBrowser < Watir::Browser
# :chrome or :safari
if ENV['WATIR_CHROME']
super :chrome
elsif ENV['WATIR_MARIONETTE']
super :firefox
else
super :firefox, :marionette => false
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