Commit 9c0633f7 authored by Sanad Liaquat's avatar Sanad Liaquat

Merge branch 'qa-shl-stablize-group_file_template_spec' into 'master'

Stablize group file templates spec with retry_until

See merge request gitlab-org/gitlab!44975
parents 563533c6 96c739bb
......@@ -99,9 +99,11 @@ module QA
Page::Project::Show.perform(&:create_new_file!)
Page::File::Form.perform do |form|
form.select_template template[:file_name], template[:template]
Support::Retrier.retry_until do
form.select_template template[:file_name], template[:template]
expect(form).to have_normalized_ws_text(template[:content])
form.has_normalized_ws_text?(template[:content])
end
form.add_name("#{SecureRandom.hex(8)}/#{template[:file_name]}")
form.commit_changes
......
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