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.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/qa/qa/page/admin/settings.rb b/qa/qa/page/admin/settings.rb
index 39e2f2062ad..1f646103e7f 100644
--- a/qa/qa/page/admin/settings.rb
+++ b/qa/qa/page/admin/settings.rb
@@ -2,6 +2,14 @@ module QA
module Page
module Admin
class Settings < Page::Base
+ view 'app/views/admin/application_settings/_form.html.haml' do
+ element :form_actions, '.form-actions'
+ element :submit, "submit 'Save'"
+ element :repository_storage, '%legend Repository Storage'
+ element :hashed_storage,
+ 'Create new projects using hashed storage paths'
+ end
+
def enable_hashed_storage
scroll_to 'legend', text: 'Repository Storage'
check 'Create new projects using hashed storage paths'