Flaky test: spec/features/merge_request/user_sees_merge_request_file_tree_sidebar_spec.rb # Merge request > User sees merge request file tree sidebar when viewing using file-by-file mode when navigating to the next file behaves like last entry clickable i
Summary
Master-broken incident: gitlab-org/quality/engineering-productivity/master-broken-incidents#4270 (closed)
Job #5586956208 failed for 31bb8e5c:
1) Merge request > User sees merge request file tree sidebar when viewing using file-by-file mode when navigating to the next file behaves like last entry clickable is expected to be falsy
Got 1 failure and 1 other error:
Shared Example Group: "last entry clickable" called from ./spec/features/merge_request/user_sees_merge_request_file_tree_sidebar_spec.rb:67
1.1) Failure/Error: expect(button.obscured?).to be_falsy
expected: falsey value
got: true
# ./spec/features/merge_request/user_sees_merge_request_file_tree_sidebar_spec.rb:29:in `block (3 levels) in <main>'
# ./spec/spec_helper.rb:426:in `block (3 levels) in <top (required)>'
# ./spec/support/sidekiq_middleware.rb:18:in `with_sidekiq_server_middleware'
# ./spec/spec_helper.rb:417:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:413:in `block (3 levels) in <top (required)>'
# ./lib/gitlab/application_context.rb:68:in `with_raw_context'
# ./spec/spec_helper.rb:413:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:266: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:22: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>'
1.2) Failure/Error: raise JSConsoleError, message
JSConsoleError:
Unexpected browser console output:
webpack-internal:///Qog8 164:12 "GlDisclosureDropdown/GlCollapsibleListbox: Toggle is missing a 'tabindex' and cannot be focused.\n Use 'a' or 'button' element instead or make sure to add 'role=\"button\"' along with 'tabindex' otherwise." div#new-actions-header-dropdown.gl-disclosure-dropdown.gl-new-dropdown
# ./spec/support/capybara.rb:208:in `block (2 levels) in <main>'
# ./spec/spec_helper.rb:426:in `block (3 levels) in <top (required)>'
# ./spec/support/sidekiq_middleware.rb:18:in `with_sidekiq_server_middleware'
# ./spec/spec_helper.rb:417:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:413:in `block (3 levels) in <top (required)>'
# ./lib/gitlab/application_context.rb:68:in `with_raw_context'
# ./spec/spec_helper.rb:413:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:266: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:22: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 55.33 seconds (files took 1 minute 3.33 seconds to load)
1 example, 1 failure
Failed examples:
rspec './spec/features/merge_request/user_sees_merge_request_file_tree_sidebar_spec.rb[1:4:2:1:1]' # Merge request > User sees merge request file tree sidebar when viewing using file-by-file mode when navigating to the next file behaves like last entry clickable is expected to be falsy
Randomized with seed 34763
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.
Logs
Edited by Nao Hashizume