Welcome to mirror list, hosted at ThFree Co, Russian Federation.

show.rb « kubernetes « infrastructure « project « page « qa « qa - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 8725f64fe327d3fab1d1c335e909f80178ea834e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# frozen_string_literal: true

module QA
  module Page
    module Project
      module Infrastructure
        module Kubernetes
          class Show < Page::Base
            view 'app/assets/javascripts/clusters/forms/components/integration_form.vue' do
              element :integration_status_toggle
              element :base_domain_field
            end

            view 'app/assets/javascripts/integrations/edit/components/integration_form_actions.vue' do
              element :save_changes_button
            end

            def set_domain(domain)
              fill_element :base_domain_field, domain
            end

            def save_domain
              click_element :save_changes_button, Page::Project::Infrastructure::Kubernetes::Show
            end
          end
        end
      end
    end
  end
end