diff options
Diffstat (limited to 'spec/support/shared_examples/quick_actions/issue/clone_quick_action_shared_examples.rb')
-rw-r--r-- | spec/support/shared_examples/quick_actions/issue/clone_quick_action_shared_examples.rb | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/spec/support/shared_examples/quick_actions/issue/clone_quick_action_shared_examples.rb b/spec/support/shared_examples/quick_actions/issue/clone_quick_action_shared_examples.rb index a99304f7214..ab04692616a 100644 --- a/spec/support/shared_examples/quick_actions/issue/clone_quick_action_shared_examples.rb +++ b/spec/support/shared_examples/quick_actions/issue/clone_quick_action_shared_examples.rb @@ -54,8 +54,6 @@ RSpec.shared_examples 'clone quick action' do # Note that this is missing one `-` add_note("/clone -with_notes #{target_project.full_path}") - wait_for_requests - expect(page).to have_content 'Failed to clone this issue: wrong parameters.' expect(issue.reload).to be_open end @@ -68,8 +66,6 @@ RSpec.shared_examples 'clone quick action' do it 'does not clone the issue' do add_note("/clone #{project_unauthorized.full_path}") - wait_for_requests - expect(page).to have_content "Cloned this issue to #{project_unauthorized.full_path}." expect(issue.reload).to be_open @@ -83,8 +79,6 @@ RSpec.shared_examples 'clone quick action' do it 'does not clone the issue' do add_note("/clone not/valid") - wait_for_requests - expect(page).to have_content "Failed to clone this issue because target project doesn't exist." expect(issue.reload).to be_open end @@ -154,7 +148,6 @@ RSpec.shared_examples 'clone quick action' do expect(issue.reload).not_to be_closed edit_note("/cloe #{target_project.full_path}", "test note.\n/clone #{target_project.full_path}") - wait_for_all_requests expect(page).to have_content 'test note.' expect(issue.reload).to be_open @@ -172,7 +165,6 @@ RSpec.shared_examples 'clone quick action' do expect(page).not_to have_content 'Commands applied' edit_note("/cloe #{target_project.full_path}", "/clone #{target_project.full_path}") - wait_for_all_requests expect(page).not_to have_content "/clone #{target_project.full_path}" expect(issue.reload).to be_open |