summaryrefslogtreecommitdiff
path: root/qa/qa/page/project/operations/kubernetes/index.rb
blob: 67a74af1cd2411172a927f87ad873da09617c8df (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
module QA
  module Page
    module Project
      module Operations
        module Kubernetes
          class Index < Page::Base
            view 'app/views/clusters/clusters/_empty_state.html.haml' do
              element :add_kubernetes_cluster_button, "link_to s_('ClusterIntegration|Add Kubernetes cluster')" # rubocop:disable QA/ElementWithPattern
            end

            def add_kubernetes_cluster
              click_on 'Add Kubernetes cluster'
            end
          end
        end
      end
    end
  end
end