Improve slow Incident Details feature tests
What does this MR do and why?
Related to #365771 (closed)
Improves speed of Incident Details feature tests
Before
→ time be rspec spec/features/incidents/incident_details_spec.rb
...
Finished in 4 minutes 46.8 seconds (files took 27.15 seconds to load)
7 examples, 0 failures
bundle exec rspec 192.44s user 235.24s system 134% cpu 5:18.10 total
After
→ time be rspec spec/features/incidents/incident_details_spec.rb
...
Finished in 1 minute 58.49 seconds (files took 18.51 seconds to load)
4 examples, 0 failures
bundle exec rspec 93.77s user 100.55s system 138% cpu 2:19.83 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.