summaryrefslogtreecommitdiff
path: root/qa/qa/page/admin/settings.rb
diff options
context:
space:
mode:
Diffstat (limited to 'qa/qa/page/admin/settings.rb')
-rw-r--r--qa/qa/page/admin/settings.rb18
1 files changed, 18 insertions, 0 deletions
diff --git a/qa/qa/page/admin/settings.rb b/qa/qa/page/admin/settings.rb
new file mode 100644
index 00000000000..39e2f2062ad
--- /dev/null
+++ b/qa/qa/page/admin/settings.rb
@@ -0,0 +1,18 @@
+module QA
+ module Page
+ module Admin
+ class Settings < Page::Base
+ def enable_hashed_storage
+ scroll_to 'legend', text: 'Repository Storage'
+ check 'Create new projects using hashed storage paths'
+ end
+
+ def save_settings
+ scroll_to '.form-actions' do
+ click_button 'Save'
+ end
+ end
+ end
+ end
+ end
+end