summaryrefslogtreecommitdiff
path: root/qa/qa/page/project/settings/operations.rb
blob: b39b8f92cc7ebe31a15224da9ffa1520f778f0c8 (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/assets/javascripts/incidents_settings/components/incidents_settings_tabs.vue' 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