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,11 +102,14 @@ module QA
expect(form).to have_normalized_ws_text(template[:content])
form.commit_changes
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')
expect(form).to have_normalized_ws_text(template[:content].chomp)
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')
expect(form).to have_normalized_ws_text(template[:content].chomp)
end
end
end
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