Commit d31dff94 authored by Walmyr Lima e Silva Filho's avatar Walmyr Lima e Silva Filho

Merge branch '35526-fix-group-file-template-test' into 'master'

Fix group file template spec

See merge request gitlab-org/gitlab!22137
parents 97fe827f f0704579
......@@ -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