Flaky test 'spec/features/issues/create_issue_for_discussions_in_merge_request_spec.rb[1:1:4:2:3:1:5]' # Resolving all open threads in a merge request from an issue as a user with access to the project for a project where all threads need to be resolved b
Job #1712651068 failed for 7583738a:
1) Resolving all open threads in a merge request from an issue as a user with access to the project for a project where all threads need to be resolved before merging merge request has threads that need to be resolved creating an issue for threads behaves like creating an issue for a thread shows a flash messaage after resolving a discussion
Got 0 failures and 2 other errors:
Shared Example Group: "creating an issue for a thread" called from ./spec/features/issues/create_issue_for_discussions_in_merge_request_spec.rb:93
1.1) Failure/Error:
page.within '.flash-notice' do
# Only check for the word 'Resolved' since the spec might have resolved
# multiple discussions
expect(page).to have_content('Resolved')
end
Capybara::ElementNotFound:
Unable to find css ".flash-notice"
# ./spec/support/shared_examples/features/resolving_discussions_in_issues_shared_examples.rb:31:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:408:in `block (3 levels) in <top (required)>'
# ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'
# ./spec/spec_helper.rb:399:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:395:in `block (3 levels) in <top (required)>'
# ./lib/gitlab/application_context.rb:31:in `with_raw_context'
# ./spec/spec_helper.rb:395:in `block (2 levels) in <top (required)>'
# ./spec/support/database/prevent_cross_joins.rb:102:in `block (3 levels) in <top (required)>'
# ./spec/support/database/prevent_cross_joins.rb:56:in `with_cross_joins_prevented'
# ./spec/support/database/prevent_cross_joins.rb:102:in `block (2 levels) in <top (required)>'
1.2) Failure/Error: raise JSConsoleError, message
JSConsoleError:
Unexpected browser console output:
webpack-internal:///kI/X 18:12 "[BootstrapVue warn]: tooltip - The provided target is no valid HTML element."
webpack-internal:///kI/X 18:12 "[BootstrapVue warn]: tooltip - The provided target is no valid HTML element."
# ./spec/support/capybara.rb:198:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:408:in `block (3 levels) in <top (required)>'
# ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'
# ./spec/spec_helper.rb:399:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:395:in `block (3 levels) in <top (required)>'
# ./lib/gitlab/application_context.rb:31:in `with_raw_context'
# ./spec/spec_helper.rb:395:in `block (2 levels) in <top (required)>'
# ./spec/support/database/prevent_cross_joins.rb:102:in `block (3 levels) in <top (required)>'
# ./spec/support/database/prevent_cross_joins.rb:56:in `with_cross_joins_prevented'
# ./spec/support/database/prevent_cross_joins.rb:102:in `block (2 levels) in <top (required)>'
Finished in 23 minutes 57 seconds (files took 1 minute 2.78 seconds to load)
293 examples, 1 failure
Failed examples:
rspec './spec/features/issues/create_issue_for_discussions_in_merge_request_spec.rb[1:1:4:2:3:1:5]' # Resolving all open threads in a merge request from an issue as a user with access to the project for a project where all threads need to be resolved before merging merge request has threads that need to be resolved creating an issue for threads behaves like creating an issue for a thread shows a flash messaage after resolving a discussion