Improve slow tests in incident_issue_spec
What does this MR do and why?
Combines some tests together to improve the speed
Related to #365774 (closed)
Comparison
Before
→ time be rspec spec/features/issues/incident_issue_spec.rb
Finished in 4 minutes 21.6 seconds (files took 17.95 seconds to load)
8 examples, 0 failures
157.61s user 139.21s system 104% cpu 4:42.75 total
After
→ time be rspec spec/features/issues/incident_issue_spec.rb
Finished in 3 minutes 38.6 seconds (files took 17.84 seconds to load)
3 examples, 0 failures
118.31s user 93.81s system 101% cpu 3:28.89 total
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.