Broken FOSS master: spec/features/work_items/work_item_spec.rb and spec/features/work_items/work_item_children_spec.rb
Summary
spec/features/work_items/work_item_spec.rb
and spec/features/work_items/work_item_children_spec.rb
failed for gitlab-foss@d4e22f4a:
-
rspec system pg12 28/28
job #3497807741:
1) Work item for signed in user in work item description shows GFM autocomplete
Got 0 failures and 2 other errors:
1.1) Failure/Error: super
Capybara::ElementNotFound:
Unable to find button "Edit description" that is not disabled
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/capybara_slow_finder.rb:18:in `synchronize'
# ./spec/features/work_items/work_item_spec.rb:23:in `block (4 levels) in <main>'
# ./spec/spec_helper.rb:415:in `block (3 levels) in <top (required)>'
# ./spec/support/sidekiq_middleware.rb:18:in `with_sidekiq_server_middleware'
# ./spec/spec_helper.rb:407:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:403:in `block (3 levels) in <top (required)>'
# ./lib/gitlab/application_context.rb:59:in `with_raw_context'
# ./spec/spec_helper.rb:403: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/flaky_tests.rb:27: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>'
# ------------------
# --- Caused by: ---
# Capybara::ElementNotFound:
# Unable to find button "Edit description" that is not disabled
# ./spec/support/capybara_slow_finder.rb:18:in `synchronize'
-
rspec system pg12 12/28
job #3497807710 failed with:
Failures:
1) Work item children for signed in user adds a new child task
Got 0 failures and 2 other errors:
1.1) Failure/Error: super
Capybara::ElementNotFound:
Unable to find css "[data-testid=\"links-child\"]" within #<Capybara::Node::Element tag="div" path="/HTML/BODY[1]/DIV[3]/DIV[1]/DIV[3]/MAIN[1]/DIV[3]/DIV[2]/DIV[2]">
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/capybara_slow_finder.rb:18:in `synchronize'
# ./spec/features/work_items/work_item_children_spec.rb:75:in `block (4 levels) in <main>'
# ./spec/features/work_items/work_item_children_spec.rb:62:in `block (3 levels) in <main>'
# ./spec/spec_helper.rb:415:in `block (3 levels) in <top (required)>'
# ./spec/support/sidekiq_middleware.rb:18:in `with_sidekiq_server_middleware'
# ./spec/spec_helper.rb:407:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:403:in `block (3 levels) in <top (required)>'
# ./lib/gitlab/application_context.rb:59:in `with_raw_context'
# ./spec/spec_helper.rb:403: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/flaky_tests.rb:27: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>'
# ------------------
# --- Caused by: ---
# Capybara::ElementNotFound:
# Unable to find css "[data-testid=\"links-child\"]" within #<Capybara::Node::Element tag="div" path="/HTML/BODY[1]/DIV[3]/DIV[1]/DIV[3]/MAIN[1]/DIV[3]/DIV[2]/DIV[2]">
# ./spec/support/capybara_slow_finder.rb:18:in `synchronize'
Steps to reproduce
FOSS_ONLY=1 WEBDRIVER_HEADLESS=0 bundle exec rspec spec/features/work_items/work_item_spec.rb
FOSS_ONLY=1 WEBDRIVER_HEADLESS=0 bundle exec rspec spec/features/work_items/work_item_children_spec.rb
Proposed Resolution
Please refer to the Resolution guidance to learn more about resolution of broken master.