Combine similar feature spec of Editing and Creating Merge Request
<!--IssueSummary start--> <details> <summary> Everyone can contribute. [Help move this issue forward](https://handbook.gitlab.com/handbook/marketing/developer-relations/contributor-success/community-contributors-workflows/#contributor-links) while earning points, leveling up and collecting rewards. </summary> - [Close this issue](https://contributors.gitlab.com/manage-issue?action=close&projectId=278964&issueIid=227481) </details> <!--IssueSummary end--> There are currently seemingly similar feature spec for Editing and Creating Merge Request. Are these actually similar? If so, can we combine them to avoid confusion 🙂 **Edit MR** - `spec/features/merge_request/user_edits_merge_request_spec.rb` - `spec/features/merge_request/user_edits_mr_spec.rb` **Create MR** - `spec/features/merge_request/user_creates_merge_request_spec.rb` - `spec/features/merge_request/user_creates_mr_spec.rb` ## Background information The following discussion from !35392 should be addressed: - [ ] @a_mcdonald started a [discussion](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/35392#note_375477228): > Since there are so many scenarios that are squash-related, should it be a separate file that is called accordingly - e.g. `user_edits_squash_settings_spec`? The fact that we have to have two `describe` within the same test seems quite strange to me. > > To make things worse, there is also `user_edits_mr_spec` in the same folder that makes it even more confusing. Perhaps it could be combined with that lonely `it 'changes the target branch'` that is outside of `describe 'Squash commits'`? > > Would be nice to have naming a bit more logical but I am not very familiar with this test suite so there might be some historic reasons for that. Leaving this up to you :slight_smile:
issue