Commit 87b81fa6 authored by Valery Sizov's avatar Valery Sizov

Fix random failing spec

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