Improve slow tests in ./spec/features/merge_request/user_resolves_diff_notes_and_discussions_resolve_spec.rb
<!--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=500988)
</details>
<!--IssueSummary end-->
### Summary
The total running time of [./spec/features/merge_request/user_resolves_diff_notes_and_discussions_resolve_spec.rb](./spec/features/merge_request/user_resolves_diff_notes_and_discussions_resolve_spec.rb) is
**875.60 seconds** and it executes **80992** queries.
It is likely this can be improved.
Please review this suite or example for opportunities to fix slow tests.
#### Description
This issue was generated from the
[rspec profiling](https://gitlab.com/gitlab-org/rspec_profiling_stats) project
which profiles rspec tests in pipelines run against the default branch on
`gitlab-org/gitlab`.
### How to improve this test?
Please follow our testing best practices to speed up tests at https://docs.gitlab.com/ee/development/testing_guide/best_practices.html#test-speed.
issue