Skip to content

Transient Failure in api/3_create/merge_request/push_options_target_branch_spec.rb:19 | "There was a problem creating the merge request"

Summary

Job: https://gitlab.com/gitlab-org/gitlab-qa-mirror/-/jobs/752231578

Stack trace

  1) Create Merge request push options sets a target branch
     Failure/Error: expect(merge_request[:target_branch]).to eq(target_branch)
     
     NoMethodError:
       undefined method `[]' for nil:NilClass
     # ./qa/specs/features/api/3_create/merge_request/push_options_target_branch_spec.rb:41:in `block (3 levels) in <module:QA>'

Now failing with:

1) Create Merge request push options sets a target branch
     Failure/Error: expect(merge_request).not_to be_nil, "There was a problem creating the merge request"
       There was a problem creating the merge request
     # ./qa/specs/features/api/3_create/merge_request/push_options_target_branch_spec.rb:41:in `block (3 levels) in <module:QA>'

Screenshot / HTML page

N/A

Possible fixes

Edited by Sanad Liaquat