summaryrefslogtreecommitdiff
path: root/qa/qa/page/project/operations/kubernetes/add.rb
blob: 18c16ca6db704a52138415296224c0b62c05fd14 (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 Add < Page::Base
            view 'app/views/projects/clusters/new.html.haml' do
              element :add_existing_cluster_button, "Add existing cluster" # rubocop:disable QA/ElementWithPattern
            end

            def add_existing_cluster
              click_on 'Add existing cluster'
            end
          end
        end
      end
    end
  end
end