Commit aa26a013 authored by Ash McKenzie's avatar Ash McKenzie

Merge branch '65603-broken-master-spec-features-snippets-user_edits_snippet_spec-rb' into 'master'

Resolve flaky spec in user_edits_snippet_spec.rb

Closes #65603

See merge request gitlab-org/gitlab-ce!31453
parents 82ce29d3 22883358
......@@ -34,7 +34,7 @@ describe 'User edits snippet', :js do
click_button('Save changes')
wait_for_requests
link = find('a.no-attachment-icon img[alt="banana_sample"]')['src']
link = find('a.no-attachment-icon img:not(.lazy)[alt="banana_sample"]')['src']
expect(link).to match(%r{/uploads/-/system/personal_snippet/#{snippet.id}/\h{32}/banana_sample\.gif\z})
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