Flaky test spec/features/issues/form_spec.rb:529 # New/edit issue inline edit within issue 2 when user has made changes shows a warning and can leave page
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 #4257166336 failed for 8ebf3823:
Failures:
1) New/edit issue inline edit within issue 2 when user has made changes shows a warning and can leave page
Got 0 failures and 2 other errors:
1.1) Failure/Error: Capybara.page.evaluate_script('window.pendingRequests || window.pendingApolloRequests || window.pendingRailsUJSRequests || 0').zero? # rubocop:disable Style/NumericPredicate
Selenium::WebDriver::Error::UnexpectedAlertOpenError:
unexpected alert open: {Alert text : }
(Session info: headless chrome=109.0.5414.119)
# #0 0x55d3040e0303 <unknown>
# #1 0x55d303eb4d37 <unknown>
# #2 0x55d303f29db5 <unknown>
# #3 0x55d303f11753 <unknown>
# #4 0x55d303ee4a14 <unknown>
# #5 0x55d303ee5b7e <unknown>
# #6 0x55d30412f32e <unknown>
# #7 0x55d304132c0e <unknown>
# #8 0x55d304115610 <unknown>
# #9 0x55d304133c23 <unknown>
# #10 0x55d304107545 <unknown>
# #11 0x55d3041546a8 <unknown>
# #12 0x55d304154836 <unknown>
# #13 0x55d30416fd13 <unknown>
# #14 0x7f059ac2aea7 start_thread
# ./spec/support/helpers/wait_for_requests.rb:58:in `finished_all_ajax_requests?'
# ./spec/support/helpers/wait_for_requests.rb:54:in `finished_all_js_requests?'
# ./spec/support/helpers/wait_for_requests.rb:41:in `block in wait_for_all_requests'
# ./spec/support/helpers/wait_helpers.rb:10:in `block in wait_for'
# ./spec/support/helpers/wait_helpers.rb:9:in `loop'
# ./spec/support/helpers/wait_helpers.rb:9:in `wait_for'
# ./spec/support/helpers/wait_for_requests.rb:39:in `wait_for_all_requests'
# ./spec/support/capybara_wait_for_all_requests.rb:39:in `click_link'
# ./spec/features/issues/form_spec.rb:534: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>'
1.2) Failure/Error: raise JSConsoleError, message
JSConsoleError:
Unexpected browser console output:
webpack-internal:///gzws 163: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#discussion-preferences-dropdown.gl-new-dropdown.gl-disclosure-dropdown.full-width-mobile
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-modal]: Accessible name for modal missing. Please add title prop or aria-label." #comment
http://127.0.0.1:39817/assets/webpack/dll.e8f4b398f220/vendor.dll.bundle.js 289881:20 "[Vue warn]: Invalid prop: type check failed for prop \"value\". Expected String, got Null \n\nfound in\n\n---> \u003CDescriptionField> at issues/show/components/fields/description.vue\n \u003CFormComponent> at issues/show/components/form.vue\n \u003CApp> at issues/show/components/app.vue\n \u003CRoot>"
http://127.0.0.1:39817/assets/webpack/dll.e8f4b398f220/vendor.dll.bundle.js 289881:20 "[Vue warn]: Invalid prop: type check failed for prop \"value\". Expected String, got Null \n\nfound in\n\n---> \u003CMarkdownEditor> at vue_shared/components/markdown/markdown_editor.vue\n \u003CDescriptionField> at issues/show/components/fields/description.vue\n \u003CFormComponent> at issues/show/components/form.vue\n \u003CApp> at issues/show/components/app.vue\n \u003CRoot>"
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
# ./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 30.75 seconds (files took 1 minute 2.18 seconds to load)
1 example, 1 failure
Failed examples:
rspec ./spec/features/issues/form_spec.rb:529 # New/edit issue inline edit within issue 2 when user has made changes shows a warning and can leave page