diff options
author | Sean McGivern <sean@mcgivern.me.uk> | 2017-07-04 14:19:41 +0000 |
---|---|---|
committer | Sean McGivern <sean@mcgivern.me.uk> | 2017-07-04 14:19:41 +0000 |
commit | a69236cd4a22be2012287ee165db37e92346ee7e (patch) | |
tree | feb97bb7a698f6af26ab9876a194bd7b5522d95f /spec | |
parent | 6e8902d60e28ced2fada881e4f778a8c9d10943f (diff) | |
parent | 0c7e1c167b4849df000dfd524ddf82c00d180903 (diff) | |
download | gitlab-ce-a69236cd4a22be2012287ee165db37e92346ee7e.tar.gz |
Merge branch '34647-fix-move_spec' into 'master'
wait_for_requests is not needed when AJAX is not in play
Closes #34647
See merge request !12626
Diffstat (limited to 'spec')
-rw-r--r-- | spec/features/issues/move_spec.rb | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/spec/features/issues/move_spec.rb b/spec/features/issues/move_spec.rb index 21a7637fe7f..d6e78157e5f 100644 --- a/spec/features/issues/move_spec.rb +++ b/spec/features/issues/move_spec.rb @@ -41,13 +41,10 @@ feature 'issue move to another project' do find('#issuable-move', visible: false).set(new_project.id) click_button('Save changes') - wait_for_requests - - expect(current_url).to include project_path(new_project) - expect(page).to have_content("Text with #{cross_reference}#{mr.to_reference}") expect(page).to have_content("moved from #{cross_reference}#{issue.to_reference}") expect(page).to have_content(issue.title) + expect(page.current_path).to include project_path(new_project) end scenario 'searching project dropdown', js: true do |