Commit 9d55988a authored by Heinrich Lee Yu's avatar Heinrich Lee Yu

Merge branch 'sh-fix-issue-216541' into 'master'

Fix flaky test in dashboard/snippets_spec.rb

Closes #216541

See merge request gitlab-org/gitlab!31062
parents 31dc7d6d 742d3d85
......@@ -35,7 +35,7 @@ describe 'Dashboard snippets' do
element = page.find('.row.empty-state')
expect(element).to have_content("Code snippets")
expect(element.find('.svg-content img')['src']).to have_content('illustrations/snippets_empty')
expect(element.find('.svg-content img.js-lazy-loaded')['src']).to have_content('illustrations/snippets_empty')
end
it 'shows new snippet button in main content area' do
......
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