Skip to content

Speed up user_sees_discussions_navigation_spec.rb

Robert May requested to merge faster-nav-spec into master

What does this MR do and why?

Describe in detail what your merge request does and why.

Speeds up a spec that was showing up on our top list of slow files.

Before

Finished in 7 minutes 14 seconds (files took 10.85 seconds to load)
19 examples, 0 failures

After

Finished in 1 minute 54.5 seconds (files took 10.47 seconds to load)
19 examples, 0 failures

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.

Edited by Robert May

Merge request reports