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

Job #3372702204 failed for 95099282:

  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

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

Steps to reproduce

Proposed Resolution

Please refer to the Resolution guidance to learn more about resolution of broken master.

Edited by David Dieulivol