1
0

Extended wait time after defaults loading to avoid failures

This commit is contained in:
cryptogopher 2020-08-29 01:45:38 +02:00
parent 1b7f2f0abd
commit 8be1533667

View File

@ -23,8 +23,8 @@ class BodyTrackersTest < BodyTrackingSystemTestCase
click_link t('layouts.sidebar.link_defaults')
end
# click_link is asynchronuous, need to wait for page reload before
# checking differences
assert_selector 'div#flash_notice'
# checking differences and wait a little longer than normally
assert_selector 'div#flash_notice', wait: 10
assert_no_selector 'div#flash_error'
end
end