Flaky test Merge request > User sees discussions navigation Code discussions Changes page discussions navigation behaves like a page with a thread navigation with resolved threads excludes resolved threads during navigation
### Summary
* Original master-broken incident: https://gitlab.com/gitlab-org/quality/engineering-productivity/master-broken-incidents/-/issues/376
Job [#3372702204](https://gitlab.com/gitlab-org/gitlab/-/jobs/3372702204) failed for 95099282decbed7f0f8427fc8b91a7e755f16265:
```
1) Merge request > User sees discussions navigation Code discussions Changes page discussions navigation behaves like a page with a thread navigation with resolved threads excludes resolved threads during navigation
Got 0 failures and 2 other errors:
Shared Example Group: "a page with a thread navigation" called from ./spec/features/merge_request/user_sees_discussions_navigation_spec.rb:132
1.1) Failure/Error: super
Capybara::ElementNotFound:
Unable to find visible css ".discussion[data-discussion-id='416d628c69e907cf618a4719521bd6b002efb04a']"
Timeout (30s) reached while running a waiting Capybara finder.
Consider using a non-waiting finder.
See https://www.cloudbees.com/blog/faster-rails-tests
# ./spec/support/capybara_slow_finder.rb:18:in `synchronize'
# ./spec/features/merge_request/user_sees_discussions_navigation_spec.rb:91:in `block (5 levels) in <top (required)>'
# ./spec/spec_helper.rb:411:in `block (3 levels) in <top (required)>'
# ./spec/support/sidekiq_middleware.rb:18:in `with_sidekiq_server_middleware'
# ./spec/spec_helper.rb:403:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:399:in `block (3 levels) in <top (required)>'
# ./lib/gitlab/application_context.rb:59:in `with_raw_context'
# ./spec/spec_helper.rb:399:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:239:in `block (2 levels) in <top (required)>'
# ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'
# ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'
# ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'
# ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'
# ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'
# ------------------
# --- Caused by: ---
# Capybara::ElementNotFound:
# Unable to find visible css ".discussion[data-discussion-id='416d628c69e907cf618a4719521bd6b002efb04a']"
# ./spec/support/capybara_slow_finder.rb:18:in `synchronize'
1.2) Failure/Error: raise JSConsoleError, message
JSConsoleError:
Unexpected browser console output:
security - Error with Permissions-Policy header: Origin trial controlled feature not enabled: 'interest-cohort'.
webpack-internal:///gzws 126:12 "[gl-button]: Accessible name missing. Please add inner text or aria-label."
https://localhost/com.snowplowanalytics.snowplow/tp2 - Failed to load resource: net::ERR_CONNECTION_REFUSED
# ./spec/support/capybara.rb:206:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:411:in `block (3 levels) in <top (required)>'
# ./spec/support/sidekiq_middleware.rb:18:in `with_sidekiq_server_middleware'
# ./spec/spec_helper.rb:403:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:399:in `block (3 levels) in <top (required)>'
# ./lib/gitlab/application_context.rb:59:in `with_raw_context'
# ./spec/spec_helper.rb:399:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:239:in `block (2 levels) in <top (required)>'
# ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'
# ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'
# ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'
# ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'
# ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'
Finished in 19 minutes 5 seconds (files took 40.71 seconds to load)
36 examples, 1 failure, 1 pending
Failed examples:
rspec './spec/features/merge_request/user_sees_discussions_navigation_spec.rb[1:1:2:1:2:1]' # Merge request > User sees discussions navigation Code discussions Changes page discussions navigation behaves like a page with a thread navigation with resolved threads excludes resolved threads during navigation
```
[merge_request_user_sees_discussions_navigation_code_discussions_changes_page_discussions_navigation_behaves_like_a_page_with_a_thread_navigation_with_resolved_threads_excludes_resolved_threads_during_navigation.html](/uploads/708820bbe7f6c88d76283bd860d777c0/merge_request_user_sees_discussions_navigation_code_discussions_changes_page_discussions_navigation_behaves_like_a_page_with_a_thread_navigation_with_resolved_threads_excludes_resolved_threads_during_navigation.html)

### Steps to reproduce
<!-- If the pipeline failure is reproducible, provide steps to recreate the issue locally. Please use an ordered list. -->
### Proposed Resolution
<!-- Describe the proposed change to restore master stability. -->
Please refer to the [Resolution guidance](https://about.gitlab.com/handbook/engineering/workflow/#resolution-of-broken-master) to learn more about resolution of broken master.
issue