Flaky test spec/features/projects/work_items/work_item_spec.rb:42 # Work item for signed in user behaves like work items comments for work item note actions signed in user with developer role shows work item note actions
Summary
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 #4464389733 failed for 7ded824e:
Failures:
1) Work item for signed in user behaves like work items comments for work item note actions signed in user with developer role shows work item note actions
Failure/Error: expect(page).to have_selector('[data-testid="delete-note-action"]')
expected to find visible css "[data-testid=\"delete-note-action\"]" within #<Capybara::Node::Element tag="li" path="/HTML/BODY[1]/DIV[3]/DIV[1]/DIV[3]/MAIN[1]/DIV[2]/DIV[1]/SECTION[1]/SECTION[1]/DIV[9]/DIV[2]/UL[1]/LI[2]"> but there were no matches. Also found "", which matched the selector but not all filters.
Timeout (30s) 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: "work items comments" called from ./spec/features/projects/work_items/work_item_spec.rb:42
# ./spec/support/shared_examples/features/work_items_shared_examples.rb:94:in `block (4 levels) in <main>'
# ./spec/support/shared_examples/features/work_items_shared_examples.rb:87:in `block (3 levels) in <main>'
# ./spec/spec_helper.rb:415:in `block (3 levels) in <top (required)>'
# ./spec/support/sidekiq_middleware.rb:18:in `with_sidekiq_server_middleware'
# ./spec/spec_helper.rb:406:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:402:in `block (3 levels) in <top (required)>'
# ./lib/gitlab/application_context.rb:61:in `with_raw_context'
# ./spec/spec_helper.rb:402: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:23: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 1 minute 16.5 seconds (files took 31.81 seconds to load)
1 example, 1 failure
Failed examples:
rspec './spec/features/projects/work_items/work_item_spec.rb[1:1:7:3:1]' # Work item for signed in user behaves like work items comments for work item note actions signed in user with developer role shows work item note actions
Randomized with seed 57724