Skip to content

Improve user_posts_diff_notes_spec specs

Alina Mihaila requested to merge am-use-let_it_be-in_users_posts_specs into master

What does this MR do and why?

Related #375006 (closed)

Describe in detail what your merge request does and why.

Before

Finished in 8 minutes 42 seconds (files took 9.53 seconds to load)
24 examples, 0 failures, 3 pending

[TEST PROF INFO] Time spent in factories: 00:57.214 (10.93% of total time)
[TEST PROF INFO] Factories usage

 Total: 64
 Total top-level: 22
 Total time: 00:57.214 (out of 08:48.711)
 Total uniq factories: 4

   total   top-level     total time      time per call      top-level time               name

      21          21       57.2070s            2.7241s            57.2070s      merge_request
      21           0       50.0025s            2.3811s             0.0000s            project
      21           0        1.6545s            0.0788s             0.0000s          namespace
       1           1        0.0071s            0.0071s             0.0071s            license

After

Finished in 7 minutes 41 seconds (files took 8.89 seconds to load)
24 examples, 0 failures, 3 pending

[TEST PROF INFO] Time spent in factories: 00:03.302 (0.72% of total time)
[TEST PROF INFO] Factories usage

 Total: 4
 Total top-level: 2
 Total time: 00:03.302 (out of 07:46.031)
 Total uniq factories: 4

   total   top-level     total time      time per call      top-level time               name

       1           1        0.0066s            0.0066s             0.0066s            license
       1           1        3.2954s            3.2954s             3.2954s      merge_request
       1           0        2.5712s            2.5712s             0.0000s            project
       1           0        0.1278s            0.1278s             0.0000s          namespace

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports

Loading