summaryrefslogtreecommitdiff
path: root/qa/qa/page/project/settings/operations.rb
blob: f6e005d31893488d101eeba132ac7647f49facab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# frozen_string_literal: true

module QA
  module Page
    module Project
      module Settings
        class Operations < Page::Base
          include QA::Page::Settings::Common

          view 'app/views/projects/settings/operations/_incidents.html.haml' do
            element :incidents_settings_content
          end

          def expand_incidents(&block)
            expand_section(:incidents_settings_content) do
              Settings::Incidents.perform(&block)
            end
          end
        end
      end
    end
  end
end