Use shared examples for issues and merge requests rather than a loop creating common specs.
Attach a file by drag & drop or click to upload