Commit 8190f4f0 authored by marc duez's avatar marc duez

revert 2baf69

parent 987293fe
......@@ -59,19 +59,17 @@ class BrowserTest < MiniTest::Test
# A live server can be configured with a database.
# The welcome popup should not be tested.
if not ENV['LIVE_SERVER']
sleep(5)
if $b.div(id: 'tip-container').present?
$b.div(:id => 'tip-container').div(:class => 'tip_1').element(:class => 'icon-cancel').click
end
if $b.div(:class => 'db_div').present?
$b.div(:class => 'db_div').element(:class => 'icon-cancel').click
end
print "Welcome popup.\n"
if $b.div(:class => 'popup_msg').present?
# wait for the welcoming popup
$b.div(:class => 'popup_msg').wait_until(timeout: 2){ |el| el.present? }
# close the welcoming popup
$b.div(:class => 'popup_msg').button(:text => 'ok').click
assert (not $b.div(:class => 'popup_msg').present?), "Popup message still present after trying to close it"
end
print "Import data.\n"
......
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