Commit b9b17b38 authored by Kerri Miller's avatar Kerri Miller

Merge branch '254824-fix-flaky-spec' into 'master'

Wait for requests when expanding diffs in feature spec

See merge request gitlab-org/gitlab!63239
parents eecf0200 102a9ab8
...@@ -66,6 +66,7 @@ RSpec.describe 'User views diffs', :js do ...@@ -66,6 +66,7 @@ RSpec.describe 'User views diffs', :js do
expect(page).to have_button('Expand all') expect(page).to have_button('Expand all')
click_button 'Expand all' click_button 'Expand all'
wait_for_requests
expect(page).not_to have_button('Expand all') expect(page).not_to have_button('Expand all')
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