Flaky spec: spec/features/merge_request/user_sees_discussions_navigation_spec.rb[1:1:2:1:2:1]
Surfaced in a couple of broken master incidents:
- gitlab-org/quality/engineering-productivity/master-broken-incidents#302 (closed)
- gitlab-org/quality/engineering-productivity/master-broken-incidents#298 (closed)
Failures:
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='1220a458787110b1cf0cc50c2d8dae5f2a557801']"
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 <main>'
# ./spec/spec_helper.rb:413:in `block (3 levels) in <top (required)>'
# ./spec/support/sidekiq_middleware.rb:18:in `with_sidekiq_server_middleware'
# ./spec/spec_helper.rb:405:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:401:in `block (3 levels) in <top (required)>'
# ./lib/gitlab/application_context.rb:59:in `with_raw_context'
# ./spec/spec_helper.rb:401:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:241:in `block (2 levels) in <top (required)>'
# ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <main>'
# ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <main>'
# ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <main>'
# ./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 <main>'
# ------------------
# --- Caused by: ---
# Capybara::ElementNotFound:
# Unable to find visible css ".discussion[data-discussion-id='1220a458787110b1cf0cc50c2d8dae5f2a557801']"
# ./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 <main>'
# ./spec/spec_helper.rb:413:in `block (3 levels) in <top (required)>'
# ./spec/support/sidekiq_middleware.rb:18:in `with_sidekiq_server_middleware'
# ./spec/spec_helper.rb:405:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:401:in `block (3 levels) in <top (required)>'
# ./lib/gitlab/application_context.rb:59:in `with_raw_context'
# ./spec/spec_helper.rb:401:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:241:in `block (2 levels) in <top (required)>'
# ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <main>'
# ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <main>'
# ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <main>'
# ./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 <main>'
Finished in 1 minute 24.15 seconds (files took 47.02 seconds to load)
1 example, 1 failure
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
