Commit 9b4b4e74 authored by Sanad Liaquat's avatar Sanad Liaquat

Backport ee to ce

parent f2582fbc
......@@ -12,7 +12,11 @@ module QA
end
def within_submenu
within('.fly-out-list') do
if has_css?('.fly-out-list')
within('.fly-out-list') do
yield
end
else
yield
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