Extended wait time after defaults loading to avoid failures
This commit is contained in:
parent
1b7f2f0abd
commit
8be1533667
@ -23,8 +23,8 @@ class BodyTrackersTest < BodyTrackingSystemTestCase
|
|||||||
click_link t('layouts.sidebar.link_defaults')
|
click_link t('layouts.sidebar.link_defaults')
|
||||||
end
|
end
|
||||||
# click_link is asynchronuous, need to wait for page reload before
|
# click_link is asynchronuous, need to wait for page reload before
|
||||||
# checking differences
|
# checking differences and wait a little longer than normally
|
||||||
assert_selector 'div#flash_notice'
|
assert_selector 'div#flash_notice', wait: 10
|
||||||
assert_no_selector 'div#flash_error'
|
assert_no_selector 'div#flash_error'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Reference in New Issue
Block a user