Commit 96c739bb authored by Sanad Liaquat's avatar Sanad Liaquat

Stablize group file templates spec with retry_until

parent c5017785
......@@ -99,9 +99,11 @@ module QA
Page::Project::Show.perform(&:create_new_file!)
Page::File::Form.perform do |form|
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