summaryrefslogtreecommitdiff
path: root/qa/qa/page/group/new.rb
diff options
context:
space:
mode:
Diffstat (limited to 'qa/qa/page/group/new.rb')
-rw-r--r--qa/qa/page/group/new.rb23
1 files changed, 23 insertions, 0 deletions
diff --git a/qa/qa/page/group/new.rb b/qa/qa/page/group/new.rb
new file mode 100644
index 00000000000..cb743a7bf11
--- /dev/null
+++ b/qa/qa/page/group/new.rb
@@ -0,0 +1,23 @@
+module QA
+ module Page
+ module Group
+ class New < Page::Base
+ def set_path(path)
+ fill_in 'group_path', with: path
+ end
+
+ def set_description(description)
+ fill_in 'group_description', with: description
+ end
+
+ def set_visibility(visibility)
+ choose visibility
+ end
+
+ def create
+ click_button 'Create group'
+ end
+ end
+ end
+ end
+end