Commit 3b25d1c7 authored by Valery Sizov's avatar Valery Sizov

Fix random failure caused by spec/features/merge_requests/merge_immediately_with_pipeline_spec.rb

parent 8b879993
......@@ -32,7 +32,7 @@ feature 'Merge immediately', :feature, :js do
page.within '.mr-widget-body' do
find('.dropdown-toggle').click
click_link 'Merge Immediately'
Sidekiq::Testing.fake! { click_link 'Merge Immediately' }
expect(find('.js-merge-when-pipeline-succeeds-button')).to have_content('Merge in progress')
end
......
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