BigW Consortium Gitlab

Commit af97988a by Clement Ho

Use wait_for_ajax instead of wait_for_requests

parent 4ba257b9
......@@ -63,7 +63,7 @@ describe 'New/edit issue', feature: true, js: true do
click_button 'Unassigned'
wait_for_requests
wait_for_ajax
end
it 'should display selected users even if they are not part of the original API call' do
......
......@@ -61,7 +61,7 @@ feature 'Issue Sidebar', feature: true do
it 'keeps your filtered term after filtering and dismissing the dropdown' do
find('.dropdown-input-field').native.send_keys user2.name
wait_for_requests
wait_for_ajax
page.within '.dropdown-menu-user' do
expect(page).not_to have_content 'Unassigned'
......
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