Commit f0704579 authored by Tiffany Rea's avatar Tiffany Rea Committed by Walmyr Lima e Silva Filho

Fix group file template spec

parent 97fe827f
......@@ -102,7 +102,9 @@ module QA
expect(form).to have_normalized_ws_text(template[:content])
form.commit_changes
form.finished_loading?
aggregate_failures "indications of file created" do
expect(form).to have_content('The file has been successfully created.')
expect(form).to have_content(template[:type])
expect(form).to have_content('Add new file')
......@@ -110,6 +112,7 @@ module QA
end
end
end
end
def set_file_template_if_not_already_set
response = get Runtime::API::Request.new(@api_client, "/groups/#{@group.id}").url
......
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