Commit ac3dc6e5 authored by Mayra Cabrera's avatar Mayra Cabrera

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

Fix flaky create_snippet_spec.rb

Closes #209892

See merge request gitlab-org/gitlab!27181
parents 1467c9b7 7629b929
......@@ -32,6 +32,8 @@ shared_examples_for 'snippet editor' do
visit project_snippets_path(project)
# Wait for the SVG to ensure the button location doesn't shift
within('.empty-state') { find('img.js-lazy-loaded') }
click_on('New snippet')
wait_for_requests
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