Commit e468067a authored by Mark Lapierre's avatar Mark Lapierre

Merge branch 'sl-qa-staging-39-fix-assign-code-owners-spec-ce' into 'master'

CE port of "Fix assign code owners spec" on EE

See merge request gitlab-org/gitlab-ce!30743
parents 7c874afd 9b4b4e74
......@@ -12,9 +12,13 @@ module QA
end
def within_submenu
if has_css?('.fly-out-list')
within('.fly-out-list') do
yield
end
else
yield
end
end
end
end
......
......@@ -9,6 +9,7 @@ module QA
:description,
:source_branch,
:target_branch,
:target_new_branch,
:assignee,
:milestone,
:labels,
......@@ -27,6 +28,7 @@ module QA
Repository::ProjectPush.fabricate! do |resource|
resource.project = project
resource.branch_name = 'master'
resource.new_branch = @target_new_branch
resource.remote_branch = target_branch
end
end
......@@ -52,6 +54,7 @@ module QA
@labels = []
@file_name = "added_file.txt"
@file_content = "File Added"
@target_new_branch = true
end
def fabricate!
......
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