Failure in qa/specs/features/ee/browser_ui/3_create/repository/restrict_push_protected_branch_spec.rb
Summary
Seen on staging-ref: https://ops.gitlab.net/gitlab-org/quality/staging-ref/-/jobs/6262520
Stack trace
Failures:
1) Create Restricted protected branch push and merge when only one user is allowed to merge and push to a protected branch behaves like only user with access pushes and merges selected developer user pushes and merges
Failure/Error:
Resource::ProtectedBranch.fabricate_via_browser_ui! do |protected_branch|
protected_branch.branch_name = branch_name
protected_branch.project = project
protected_branch.allowed_to_merge = {
users: [user_developer]
}
protected_branch.allowed_to_push = {
users: [user_developer]
}
end
Capybara::ElementNotFound:
Unable to find link or button "gitlab-qa-user1" within #<Capybara::Node::Element tag="div" path="/HTML/BODY[1]/DIV[3]/DIV[1]/DIV[3]/MAIN[1]/DIV[3]/SECTION[1]/DIV[2]/FORM[1]/DIV[1]/DIV[2]/DIV[2]/DIV[1]/DIV[1]/DIV[1]/DIV[1]">
Shared Example Group: "only user with access pushes and merges" called from ./qa/specs/features/ee/browser_ui/3_create/repository/restrict_push_protected_branch_spec.rb:62
