Transient failure in ./spec/features/protected_branches_spec.rb
I've been seeing these transient failures:
https://gitlab.com/gitlab-org/gitlab-ee/-/jobs/20435283
1) Protected Branches access control prepends selected users that can merge to
Failure/Error: find(".js-allowed-to-#{git_operation}").click # close
Capybara::Poltergeist::MouseEventFailed:
Firing a click at co-ordinates [633.5, 112] failed. Poltergeist detected another element with CSS selector 'html body header.navbar.navbar-gitlab.with-horizontal-nav div.container-fluid div.header-content div.navbar-collapse.collapse' at this position. It may be overlapping the element you are trying to interact with. If you don't care about overlapping elements, try using node.trigger('click').
Shared Example Group: "protected branches > access control > EE" called from ./spec/features/protected_branches_spec.rb:105
# ./spec/support/shared_examples/features/protected_branches_access_control_ee.rb:110:in `block (4 levels) in <top (required)>'
# ./spec/support/shared_examples/features/protected_branches_access_control_ee.rb:98:in `block (3 levels) in <top (required)>'
# ./spec/spec_helper.rb:97:in `block (2 levels) in <top (required)>'
# ------------------
# --- Caused by: ---
# Capybara::Poltergeist::BrowserError:
# There was an error inside the PhantomJS portion of Poltergeist. If this is the error returned, and not the cause of a more detailed error response, this is probably a bug, so please report it.
#
# Poltergeist.MouseEventFailed: click
# html body header.navbar.navbar-gitlab.with-horizontal-nav div.container-fluid div.header-content div.navbar-collapse.collapse
# {"x"=>633.5, "y"=>112}
# ./spec/support/shared_examples/features/protected_branches_access_control_ee.rb:110:in `block (4 levels) in <top (required)>'
Finished in 54 minutes 2 seconds (files took 27.43 seconds to load)
1737 examples, 1 failure
Failed examples:
rspec './spec/features/protected_branches_spec.rb[1:3:4]' # Protected Branches access control prepends selected users that can merge to