summaryrefslogtreecommitdiff
path: root/qa/qa/page/admin/settings.rb
blob: 39e2f2062ad6d76e06288856c2c558e5ee03ff6b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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