Failure in spec/support/shared_examples/features/content_editor_shared_examples.rb:639
Summary
This is a quarantine issue for failures from gitlab-org/quality/engineering-productivity/master-broken-incidents#5030 (closed):
1) User comments on a merge request behaves like edits content using the content editor autocomplete suggestions shows suggestions for members with descriptions
Got 1 failure and 1 other error:
Shared Example Group: "edits content using the content editor" called from ./spec/features/merge_request/user_comments_on_merge_request_spec.rb:36
1.1) Failure/Error: expect(find(suggestions_dropdown)).to have_text('all')
expected to find text "all" in "abc123 abc123 namespace2 Sidney Jones3"
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/support/shared_examples/features/content_editor_shared_examples.rb:637:in `block (3 levels) in <main>'
# ./spec/spec_helper.rb:430:in `block (3 levels) in <top (required)>'
# ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'
# ./spec/spec_helper.rb:421:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:417:in `block (3 levels) in <top (required)>'
# ./lib/gitlab/application_context.rb:68:in `with_raw_context'
# ./spec/spec_helper.rb:417:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:270: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:22:in `block (2 levels) in <main>'
# ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <main>'
# ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'
# ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <main>'
1.2) Failure/Error: console = page.driver.browser.logs.get(:browser)&.reject { |log| log.message =~ JS_CONSOLE_FILTER }
NoMethodError:
undefined method `logs' for #<Selenium::WebDriver::Chrome::Driver:0x..fa84fba8497d310b4 browser=:"chrome-headless-shell">
console = page.driver.browser.logs.get(:browser)&.reject { |log| log.message =~ JS_CONSOLE_FILTER }
^^^^^
# ./spec/support/capybara.rb:204:in `block (2 levels) in <main>'
# ./spec/spec_helper.rb:430:in `block (3 levels) in <top (required)>'
# ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'
# ./spec/spec_helper.rb:421:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:417:in `block (3 levels) in <top (required)>'
# ./lib/gitlab/application_context.rb:68:in `with_raw_context'
# ./spec/spec_helper.rb:417:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:270: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:22:in `block (2 levels) in <main>'
# ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <main>'
# ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'
# ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <main>'
Finished in 2 minutes 15.7 seconds (files took 1 minute 3.64 seconds to load)
3 examples, 1 failure
Failed examples:
rspec './spec/features/merge_request/user_comments_on_merge_request_spec.rb[1:2:12:8]' # User comments on a merge request behaves like edits content using the content editor autocomplete suggestions shows suggestions for members with descriptions
Failed to write to log, write log/workhorse-test.log: file already closed
Steps to reproduce
What is the current bug behavior?
What is the expected correct behavior?
Relevant logs and/or screenshots
Possible fixes
Edited by Dmitry Gruzd