[go: up one dir, main page]

Skip to content

spec/features/merge_request/user_sees_diff_spec.rb:35 # Merge request > User sees diff when linking to note with resolved note shows expanded note

Summary

Reported in gitlab-org/quality/engineering-productivity/master-broken-incidents#862 (closed).

Job #3741013541 failed for c28fec76:

  1) Merge request > User sees diff when linking to note with resolved note shows expanded note
     Got 1 failure and 1 other error:
     1.1) Failure/Error: expect(page).to have_selector(fragment, visible: true)
            expected to find visible css "#note_12" 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
          # ./spec/features/merge_request/user_sees_diff_spec.rb:36:in `block (4 levels) in <main>'
          # ./spec/spec_helper.rb:511:in `block (3 levels) in <top (required)>'
          # ./spec/support/sidekiq_middleware.rb:18:in `with_sidekiq_server_middleware'
          # ./spec/spec_helper.rb:503:in `block (2 levels) in <top (required)>'
          # ./spec/spec_helper.rb:499:in `block (3 levels) in <top (required)>'
          # ./lib/gitlab/application_context.rb:59:in `with_raw_context'
          # ./spec/spec_helper.rb:499:in `block (2 levels) in <top (required)>'
          # ./spec/spec_helper.rb:239: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'.
            https://localhost/com.snowplowanalytics.snowplow/tp2 - Failed to load resource: net::ERR_CONNECTION_REFUSED
            http://127.0.0.1:37541/assets/webpack/dll.26dfb345411d/vendor.dll.bundle.js 287281:14 "[Vue warn]: Invalid prop: type check failed for prop \"editable\". Expected Boolean, got Null \n\nfound in\n\n---> \u003CSidebarAssigneesWidget> at sidebar/components/assignees/sidebar_assignees_widget.vue\n       \u003CRoot>"
            https://www.gravatar.com/avatar/622c0246c83199da9f78a3056108eaaf?s=80&d=identicon - Failed to load resource: net::ERR_CONNECTION_RESET
            http://127.0.0.1:37541/assets/webpack/dll.26dfb345411d/vendor.dll.bundle.js 287281:14 "[Vue warn]: Invalid prop: type check failed for prop \"editable\". Expected Boolean, got Null \n\nfound in\n\n---> \u003CIssuableAssignees> at sidebar/components/assignees/issuable_assignees.vue\n       \u003CSidebarEditableItem> at sidebar/components/sidebar_editable_item.vue\n         \u003CSidebarAssigneesWidget> at sidebar/components/assignees/sidebar_assignees_widget.vue\n           \u003CRoot>"
            https://www.gravatar.com/avatar/622c0246c83199da9f78a3056108eaaf?s=80&d=identicon - Failed to load resource: net::ERR_CONNECTION_RESET
            https://www.gravatar.com/avatar/622c0246c83199da9f78a3056108eaaf?s=80&d=identicon - Failed to load resource: net::ERR_SOCKET_NOT_CONNECTED
            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:511:in `block (3 levels) in <top (required)>'
          # ./spec/support/sidekiq_middleware.rb:18:in `with_sidekiq_server_middleware'
          # ./spec/spec_helper.rb:503:in `block (2 levels) in <top (required)>'
          # ./spec/spec_helper.rb:499:in `block (3 levels) in <top (required)>'
          # ./lib/gitlab/application_context.rb:59:in `with_raw_context'
          # ./spec/spec_helper.rb:499:in `block (2 levels) in <top (required)>'
          # ./spec/spec_helper.rb:239: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 10 minutes 38 seconds (files took 41.16 seconds to load)
124 examples, 1 failure
Failed examples:
rspec ./spec/features/merge_request/user_sees_diff_spec.rb:35 # Merge request > User sees diff when linking to note with resolved note shows expanded note

merge_request_user_sees_diff_when_linking_to_note_with_resolved_note_shows_expanded_note.html

merge_request_user_sees_diff_when_linking_to_note_with_resolved_note_shows_expanded_note

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.

Edited by 🤖 GitLab Bot 🤖