Wait for ajax after clicking on a date
This commit is contained in:
parent
cf3c6a015f
commit
55fe57ebe6
1 changed files with 4 additions and 0 deletions
|
@ -628,6 +628,8 @@ describe 'Issues', feature: true do
|
|||
click_link date.day
|
||||
end
|
||||
|
||||
wait_for_ajax
|
||||
|
||||
expect(find('.value').text).to have_content date.strftime('%b %-d, %Y')
|
||||
end
|
||||
end
|
||||
|
@ -640,6 +642,8 @@ describe 'Issues', feature: true do
|
|||
first('.ui-state-default').click
|
||||
end
|
||||
|
||||
wait_for_ajax
|
||||
|
||||
expect(page).to have_no_content 'No due date'
|
||||
|
||||
click_link 'remove due date'
|
||||
|
|
Loading…
Reference in a new issue