Commit 72612a2c authored by Mathieu Giraud's avatar Mathieu Giraud

functional/browser_test.rb: 'tip-container' may not be present on app

parent 42efdcad
Pipeline #38129 canceled with stages
in 58 seconds
......@@ -51,7 +51,11 @@ class BrowserTest < MiniTest::Test
# check the 'db_content' window opens
assert ($b.div(:id => 'db_content').wait_until_present), "db content is not present"
$b.div(:id => 'tip-container').div(:class => 'tip_1').element(:class => 'icon-cancel').click
# close the tip container when needed
if $b.div(:id => 'tip-container').present?
$b.div(:id => 'tip-container').div(:class => 'tip_1').element(:class => 'icon-cancel').click
end
end
def close_everything
......
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