spec/features/merge_request/user_sees_discussions_navigation_spec.rb[1:1:2:1:1:5]' # Merge request > User sees discussions navigation Code discussions Changes page discussions navigation behaves like a page with a thread navigation with active threads cyc
Summary
Steps to reproduce
Please refer to Flaky tests documentation to learn more about how to reproduce them.
Proposed Resolution
Please refer to the Resolution guidance to learn more about resolution of broken master.
Once the flaky failure has been fixed on the default branch, open merge requests to cherry-pick the fix to the active stable branches.
Job #4243389527 failed for 81f86be3:
Failures:
1) Merge request > User sees discussions navigation Code discussions Changes page discussions navigation behaves like a page with a thread navigation with active threads cycles back to the last thread
Failure/Error: expect(page).to have_selector(second_discussion_selector, obscured: false)
expected to find visible css ".discussion[data-discussion-id='1d02a22d2f1b6fec522cc53fb5e04494b674469c']" but there were no matches. Also found "Sidney Jones1\n@namespace1\n· just now\nAuthor\nOwner\nMy title 5\nResolve thread", which matched the selector but not all filters.
Timeout (45s) reached while running a waiting Capybara finder.
Consider using a non-waiting finder.
See https://www.cloudbees.com/blog/faster-rails-tests
Shared Example Group: "a page with a thread navigation" called from ./spec/features/merge_request/user_sees_discussions_navigation_spec.rb:131
# ./spec/features/merge_request/user_sees_discussions_navigation_spec.rb:72:in `block (5 levels) in <main>'
# ./spec/spec_helper.rb:419:in `block (3 levels) in <top (required)>'
# ./spec/support/sidekiq_middleware.rb:18:in `with_sidekiq_server_middleware'
# ./spec/spec_helper.rb:411:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:407:in `block (3 levels) in <top (required)>'
# ./lib/gitlab/application_context.rb:61:in `with_raw_context'
# ./spec/spec_helper.rb:407:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:242:in `block (2 levels) in <top (required)>'
# ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <main>'
# ./spec/support/fast_quarantine.rb:39:in `block (2 levels) in <main>'
# ./spec/support/database/prevent_cross_joins.rb:108:in `block (3 levels) in <main>'
# ./spec/support/database/prevent_cross_joins.rb:62:in `with_cross_joins_prevented'
# ./spec/support/database/prevent_cross_joins.rb:108:in `block (2 levels) in <main>'
Finished in 2 minutes 4.3 seconds (files took 50.24 seconds to load)
2 examples, 1 failure
Failed examples:
rspec './spec/features/merge_request/user_sees_discussions_navigation_spec.rb[1:1:2:1:1:5]' # Merge request > User sees discussions navigation Code discussions Changes page discussions navigation behaves like a page with a thread navigation with active threads cycles back to the last thread