Failure in ee/browser_ui/3_create/merge_request/approval_rules_spec.rb | Create Approval rules allows multiple approval rules with users and groups
Summary
Failing job(s): https://ops.gitlab.net/gitlab-org/quality/staging-ref/-/jobs/8945377
Failing spec(s): qa/specs/features/ee/browser_ui/3_create/merge_request/approval_rules_spec.rb:30
Corresponding test case(s): https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/347771
Stack trace
1) Create Approval rules allows multiple approval rules with users and groups
Failure/Error:
merge_request = Resource::MergeRequest.fabricate_via_browser_ui! do |resource|
resource.title = 'Add a new feature'
resource.description = 'Great feature, much approval'
resource.project = project
resource.approval_rules = [
{
name: "user",
approvals_required: 1,
users: [approver1]
},
Capybara::ElementNotFound:
Unable to find css ".select2-input" within #<Capybara::Node::Element tag="fieldset" path="/HTML/BODY[1]/DIV[8]/DIV[1]/DIV[1]/DIV[1]/DIV[1]/FORM[1]/FIELDSET[3]">
# ./qa/page/component/select2.rb:26:in `search_item'
# ./qa/ee/page/merge_request/new.rb:73:in `block (2 levels) in enter_member'
# ./qa/page/base.rb:377:in `within_element'
# ./qa/support/page/logging.rb:167:in `within_element'
# ./qa/ee/page/merge_request/new.rb:72:in `block in enter_member'
# ./qa/support/retrier.rb:54:in `block in retry_until'
# ./qa/support/repeater.rb:46:in `repeat_until'
# ./qa/support/retrier.rb:44:in `retry_until'
# ./qa/page/base.rb:74:in `retry_until'
# ./qa/ee/page/merge_request/new.rb:71:in `enter_member'
# ./qa/ee/page/merge_request/new.rb:59:in `select_user_member'
# ./qa/ee/page/merge_request/new.rb:39:in `block (2 levels) in add_approval_rules'
# ./qa/ee/page/merge_request/new.rb:38:in `each'
# ./qa/ee/page/merge_request/new.rb:38:in `block in add_approval_rules'
# ./qa/ee/page/merge_request/new.rb:30:in `each'
# ./qa/ee/page/merge_request/new.rb:30:in `add_approval_rules'
# ./qa/resource/merge_request.rb:100:in `block in fabricate!'
# ./qa/scenario/actable.rb:16:in `perform'
# ./qa/resource/merge_request.rb:91:in `fabricate!'
# ./qa/resource/base.rb:49:in `block (2 levels) in fabricate_via_browser_ui!'
# ./qa/resource/base.rb:96:in `log_and_record_fabrication'
# ./qa/resource/base.rb:49:in `block in fabricate_via_browser_ui!'
# ./qa/resource/base.rb:86:in `do_fabricate!'
# ./qa/resource/base.rb:48:in `fabricate_via_browser_ui!'
# ./qa/specs/features/ee/browser_ui/3_create/merge_request/approval_rules_spec.rb:32:in `block (3 levels) in <module:QA>'