summaryrefslogtreecommitdiff
path: root/qa/qa/page/project/monitor/alerts/index.rb
blob: 50b69d59db7fb5ced701046d412182e0a109c2ab (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 Alerts
          class Index < Page::Base
            view 'app/assets/javascripts/alert_management/components/alert_management_table.vue' do
              element :alert_table_container, required: true
            end

            def has_alert_with_title?(title)
              has_link?(title)
            end
          end
        end
      end
    end
  end
end