Commit 1b0feb52 authored by Ramya Authappan's avatar Ramya Authappan

Merge branch '5048-ml-minor-refactoring-from-code-review' into 'master'

Minor refactoring from code review

Closes #5048

See merge request gitlab-org/gitlab!35563
parents 3d363f71 2d3c4886
......@@ -34,13 +34,9 @@ module QA
merge_request_page.mark_to_squash
merge_request_page.merge!
merge_request.project.visit!
Git::Repository.perform do |repository|
repository.uri = merge_request.project.repository_http_location.uri
repository.uri = project.repository_http_location.uri
repository.use_default_credentials
repository.clone
expect(repository.commits.size).to eq 3
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment