Flaky test spec/features/merge_request/user_resolves_diff_notes_and_discussions_resolve_spec.rb:221 # Merge request > User resolves diff notes and threads as authorized user single thread allows user to quickly scroll to next unresolved thread
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 #4241148427 failed for 88f288df:
Failures:
1) Merge request > User resolves diff notes and threads as authorized user single thread allows user to quickly scroll to next unresolved thread
Got 1 failure and 1 other error:
1.1) Failure/Error: expect(page.evaluate_script("window.pageYOffset")).to be > 0
expected: > 0
got: 0
# ./spec/features/merge_request/user_resolves_diff_notes_and_discussions_resolve_spec.rb:227:in `block (4 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>'
1.2) Failure/Error: raise JSConsoleError, message
JSConsoleError:
Unexpected browser console output:
webpack-internal:///gzws 163:12 "[gl-button]: Accessible name missing. Please add inner text or aria-label." button.btn.gl-mr-2.btn-default.btn-sm.gl-button.btn-default-tertiary.btn-icon
webpack-internal:///gzws 163:12 "[gl-button]: Accessible name missing. Please add inner text or aria-label." button.btn.js-zen-enter.gl-ml-2.btn-default.btn-sm.gl-button.btn-default-tertiary.btn-icon
webpack-internal:///gzws 163:12 "[gl-button]: Accessible name missing. Please add inner text or aria-label." button.btn.btn-default.btn-md.gl-button.btn-icon
webpack-internal:///gzws 163:12 "[gl-button]: Accessible name missing. Please add inner text or aria-label." button.btn.gl-vertical-align-top.btn-default.btn-sm.gl-button.btn-default-tertiary.btn-icon
# ./spec/support/capybara.rb:216:in `block (2 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 24.03 seconds (files took 40.74 seconds to load)
1 example, 1 failure
Failed examples:
rspec ./spec/features/merge_request/user_resolves_diff_notes_and_discussions_resolve_spec.rb:221 # Merge request > User resolves diff notes and threads as authorized user single thread allows user to quickly scroll to next unresolved thread
Edited by Alina Mihaila