Flaky test ee/spec/features/epics/epic_show_spec.rb:203 # Epic show Epic metadata Sort dropdown when sorted by `Oldest first` shows comments in the correct order
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 #4027953057 failed for fbd0a426:
Failures:
1) Epic show Epic metadata Sort dropdown when sorted by `Oldest first` shows comments in the correct order
Got 1 failure and 1 other error:
1.1) Failure/Error: expect(items[0]).to have_content(notes[0].note)
expected to find text "My title 4" in ""
# ./ee/spec/features/epics/epic_show_spec.rb:205:in `block (5 levels) in <main>'
# ./spec/spec_helper.rb:438:in `block (3 levels) in <top (required)>'
# ./spec/support/sidekiq_middleware.rb:18:in `with_sidekiq_server_middleware'
# ./spec/spec_helper.rb:430:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:426:in `block (3 levels) in <top (required)>'
# ./lib/gitlab/application_context.rb:61:in `with_raw_context'
# ./spec/spec_helper.rb:426:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:240:in `block (2 levels) in <top (required)>'
# ./spec/support/system_exit_detected.rb:7: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:
security - Error with Permissions-Policy header: Origin trial controlled feature not enabled: 'interest-cohort'.
webpack-internal:///gzws 142:12 "[gl-button]: Accessible name missing. Please add inner text or aria-label."
http://127.0.0.1:44391/assets/webpack/dll.1ed65d7e4d75/vendor.dll.bundle.js 284691:20 "[Vue warn]: Injection \"hasIterationsFeature\" not found\n\nfound in\n\n---> \u003CDescription> at issues/show/components/description.vue\n \u003CIssuableBody> at issues/show/components/app.vue\n \u003CEpicBody> at ee/app/assets/javascripts/epic/components/epic_body.vue\n \u003CEpicApp> at ee/app/assets/javascripts/epic/components/epic_app.vue\n \u003CRoot>"
webpack-internal:///gzws 142:12 "[gl-modal]: Accessible name for modal missing. Please add title prop or aria-label."
https://www.gravatar.com/avatar/10fc7f102be8de7657fb4d80898bbfe3?s=80&d=identicon - Failed to load resource: net::ERR_CONNECTION_RESET
https://www.gravatar.com/avatar/10fc7f102be8de7657fb4d80898bbfe3?s=48&d=identicon - Failed to load resource: net::ERR_CONNECTION_RESET
https://www.gravatar.com/avatar/10fc7f102be8de7657fb4d80898bbfe3?s=80&d=identicon - Failed to load resource: net::ERR_CONNECTION_RESET
https://localhost/com.snowplowanalytics.snowplow/tp2 - Failed to load resource: net::ERR_CONNECTION_REFUSED
# ./spec/support/capybara.rb:221:in `block (2 levels) in <main>'
# ./spec/spec_helper.rb:438:in `block (3 levels) in <top (required)>'
# ./spec/support/sidekiq_middleware.rb:18:in `with_sidekiq_server_middleware'
# ./spec/spec_helper.rb:430:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:426:in `block (3 levels) in <top (required)>'
# ./lib/gitlab/application_context.rb:61:in `with_raw_context'
# ./spec/spec_helper.rb:426:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:240:in `block (2 levels) in <top (required)>'
# ./spec/support/system_exit_detected.rb:7: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.1 seconds (files took 1 minute 26.94 seconds to load)
1 example, 1 failure
Failed examples:
rspec ./ee/spec/features/epics/epic_show_spec.rb:203 # Epic show Epic metadata Sort dropdown when sorted by `Oldest first` shows comments in the correct order
Edited by Alina Mihaila