Protected branch selector not found in test
There is a persistent spec failure on master
about the protected branch selector not being found in a test.
The first failure seems to come after the merge of https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/14278
- https://gitlab.com/gitlab-org/gitlab-ce/-/jobs/35223479
- https://gitlab.com/gitlab-org/gitlab-ce/-/jobs/35250179
- https://gitlab.com/gitlab-org/gitlab-ce/-/jobs/35256676
1) Protected Branches saved defaults keeps the allowed to merge and push dropdowns defaults based on the previous selection
Failure/Error: find(".js-protected-branch-select").trigger('click')
Capybara::ElementNotFound:
Unable to find visible css ".js-protected-branch-select"
# ./spec/features/protected_branches_spec.rb:149:in `set_protected_branch_name'
# ./spec/features/protected_branches_spec.rb:157:in `block (3 levels) in <top (required)>'
cc @jivanvl