summaryrefslogtreecommitdiff
path: root/qa/qa/page/project/monitor/incidents/index.rb
blob: 9317cb275627371d5f2774c8561beeff4307aa34 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# frozen_string_literal: true

module QA
  module Page
    module Project
      module Monitor
        module Incidents
          class Index < Page::Base
            view 'app/assets/javascripts/incidents/components/incidents_list.vue' do
              element :create_incident_button
            end

            def create_incident
              click_element :create_incident_button
            end
          end
        end
      end
    end
  end
end