diff options
-rw-r--r-- | spec/features/issues/form_spec.rb | 2 | ||||
-rw-r--r-- | spec/features/issues/issue_sidebar_spec.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/spec/features/issues/form_spec.rb b/spec/features/issues/form_spec.rb index e2a9928ec40..153bbbc207e 100644 --- a/spec/features/issues/form_spec.rb +++ b/spec/features/issues/form_spec.rb @@ -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 diff --git a/spec/features/issues/issue_sidebar_spec.rb b/spec/features/issues/issue_sidebar_spec.rb index d1f110c13ae..da110f1de05 100644 --- a/spec/features/issues/issue_sidebar_spec.rb +++ b/spec/features/issues/issue_sidebar_spec.rb @@ -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' |