Skip to content
Snippets Groups Projects
Commit 97ec476b authored by Robert Speicher's avatar Robert Speicher
Browse files

Merge branch 'sh-disable-merge-worker-in-spec' into 'master'

Disable Sidekiq in merge immediately spec to prevent transient build failures

See merge request !11422

Former-commit-id: a14d75ff
parents ccbbbf6f 817c8d1c
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -34,11 +34,13 @@ feature 'Merge immediately', :feature, :js do
page.within '.mr-widget-body' do
find('.dropdown-toggle').click
 
click_link 'Merge immediately'
Sidekiq::Testing.fake! do
click_link 'Merge immediately'
 
expect(find('.accept-merge-request.btn-info')).to have_content('Merge in progress')
expect(find('.accept-merge-request.btn-info')).to have_content('Merge in progress')
 
wait_for_ajax
wait_for_vue_resource
end
end
end
end
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