summaryrefslogtreecommitdiff
path: root/qa/qa/page/project/new.rb
diff options
context:
space:
mode:
Diffstat (limited to 'qa/qa/page/project/new.rb')
-rw-r--r--qa/qa/page/project/new.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/qa/qa/page/project/new.rb b/qa/qa/page/project/new.rb
index 7976e96d43b..9e812fa7c74 100644
--- a/qa/qa/page/project/new.rb
+++ b/qa/qa/page/project/new.rb
@@ -14,6 +14,7 @@ module QA
element :project_path, 'text_field :path'
element :project_description, 'text_area :description'
element :project_create_button, "submit 'Create project'"
+ element :visibility_radios, 'visibility_level:'
end
view 'app/views/projects/_import_project_pane.html.haml' do
@@ -42,6 +43,10 @@ module QA
click_on 'Create project'
end
+ def set_visibility(visibility)
+ choose visibility
+ end
+
def go_to_github_import
click_link 'GitHub'
end