Skip to content
Snippets Groups Projects
Commit 55fe57eb authored by Alfredo Sumaran's avatar Alfredo Sumaran
Browse files

Wait for ajax after clicking on a date

parent cf3c6a01
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -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
Loading
Loading
@@ -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
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment