Spec failure in `spec/features/issues/create_issue_for_single_discussion_in_merge_request_spec.rb` | Resolve an open thread in a merge request by creating an issue As a user with access to the project creating the issue behaves like creating an issue for
Job #1773363505 failed for 3f9e766e:
Trace
1) Resolve an open thread in a merge request by creating an issue As a user with access to the project creating the issue 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_single_discussion_in_merge_request_spec.rb:69
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:414:in `block (3 levels) in <top (required)>'
# ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'
# ./spec/spec_helper.rb:405:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:401:in `block (3 levels) in <top (required)>'
# ./lib/gitlab/application_context.rb:31:in `with_raw_context'
# ./spec/spec_helper.rb:401:in `block (2 levels) in <top (required)>'
# ./spec/support/database/query_analyzer.rb:9:in `block (3 levels) in <top (required)>'
# ./lib/gitlab/database/query_analyzer.rb:42:in `within'
# ./spec/support/database/query_analyzer.rb:9: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:200:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:414:in `block (3 levels) in <top (required)>'
# ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'
# ./spec/spec_helper.rb:405:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:401:in `block (3 levels) in <top (required)>'
# ./lib/gitlab/application_context.rb:31:in `with_raw_context'
# ./spec/spec_helper.rb:401:in `block (2 levels) in <top (required)>'
# ./spec/support/database/query_analyzer.rb:9:in `block (3 levels) in <top (required)>'
# ./lib/gitlab/database/query_analyzer.rb:42:in `within'
# ./spec/support/database/query_analyzer.rb:9: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 20 seconds (files took 57.42 seconds to load)
214 examples, 1 failure, 1 pending
Failed examples:
rspec './spec/features/issues/create_issue_for_single_discussion_in_merge_request_spec.rb[1:1:4:2:5]' # Resolve an open thread in a merge request by creating an issue As a user with access to the project creating the issue behaves like creating an issue for a thread shows a flash messaage after resolving a discussion
Edited by Rémy Coutable