Commit 102a9ab8 authored by Markus Koller's avatar Markus Koller

Wait for requests when expanding diffs in feature spec

parent 9641dac4
......@@ -66,6 +66,7 @@ RSpec.describe 'User views diffs', :js do
expect(page).to have_button('Expand all')
click_button 'Expand all'
wait_for_requests
expect(page).not_to have_button('Expand all')
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