summaryrefslogtreecommitdiff
path: root/qa/qa/page/project/settings/ci_cd.rb
blob: 5270dde7411c33a7a0a5fcffb20b5de91a20c0cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
module QA
  module Page
    module Project
      module Settings
        class CICD < Page::Base
          include Common

          view 'app/views/projects/settings/ci_cd/show.html.haml' do
            element :runners_settings, 'Runners settings'
          end

          def expand_runners_settings(&block)
            expand_section('Runners settings') do
              Settings::Runners.perform(&block)
            end
          end
        end
      end
    end
  end
end