Flaky spec: spec/features/jira_connect/branches_spec.rb:25
Reported in gitlab-org/quality/engineering-productivity/master-broken-incidents#443 (closed)
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 css "li" 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://www.cloudbees.com/blog/faster-rails-tests
# ./spec/support/capybara_slow_finder.rb:18:in `synchronize'
# ./spec/features/jira_connect/branches_spec.rb:74:in `block (3 levels) in <main>'
# ./spec/features/jira_connect/branches_spec.rb:73:in `block (2 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 "li" 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'
1.2) Failure/Error: raise JSConsoleError, message
JSConsoleError:
Unexpected browser console output:
security - Error with Permissions-Policy header: Origin trial controlled feature not enabled: 'interest-cohort'.
https://localhost/com.snowplowanalytics.snowplow/tp2 - Failed to load resource: net::ERR_CONNECTION_REFUSED
webpack-internal:///hc2E 128:20 "Popper: CSS \"margin\" styles cannot be used to apply padding between the popper and its reference element or boundary. To replicate margin, use the `offset` modifier, as well as the `padding` option in the `preventOverflow` and `flip` modifiers."
https://localhost/com.snowplowanalytics.snowplow/tp2 - Failed to load resource: net::ERR_CONNECTION_REFUSED
# ./spec/support/capybara.rb:208:in `block (2 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>'
Finished in 1 minute 13.76 seconds (files took 37.15 seconds to load)
1 example, 1 failure
Failed examples:
rspec ./spec/features/jira_connect/branches_spec.rb:25 # Create GitLab branches from Jira select project and branch and submit the form
Edited by Jennifer Li