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,8 +51,12 @@ class BrowserTest < MiniTest::Test
# check the 'db_content' window opens
assert ($b.div(:id => 'db_content').wait_until_present), "db content is not present"
# 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
def close_everything
if defined? $b
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