summaryrefslogtreecommitdiff
path: root/qa/qa/page/project/operations/kubernetes/show.rb
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-03-12 15:09:39 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2020-03-12 15:09:39 +0000
commitdc889678d1de8c09310b2f8f9742bb6c78a6f1a4 (patch)
tree70945aa6721a271fc8057efa13c3216a03fbac45 /qa/qa/page/project/operations/kubernetes/show.rb
parentcd52759ee33051b8ad7b88b02ba7954e4fad7018 (diff)
downloadgitlab-ce-dc889678d1de8c09310b2f8f9742bb6c78a6f1a4.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'qa/qa/page/project/operations/kubernetes/show.rb')
-rw-r--r--qa/qa/page/project/operations/kubernetes/show.rb20
1 files changed, 19 insertions, 1 deletions
diff --git a/qa/qa/page/project/operations/kubernetes/show.rb b/qa/qa/page/project/operations/kubernetes/show.rb
index b639f867593..46fddfa6078 100644
--- a/qa/qa/page/project/operations/kubernetes/show.rb
+++ b/qa/qa/page/project/operations/kubernetes/show.rb
@@ -10,17 +10,35 @@ module QA
element :ingress_ip_address, 'id="ingress-endpoint"' # rubocop:disable QA/ElementWithPattern
end
- view 'app/views/clusters/clusters/_form.html.haml' do
+ view 'app/views/clusters/clusters/_gitlab_integration_form.html.haml' do
element :integration_status_toggle, required: true
element :base_domain_field, required: true
element :save_changes_button, required: true
end
+ view 'app/views/clusters/clusters/_details_tab.html.haml' do
+ element :details, required: true
+ end
+
+ view 'app/views/clusters/clusters/_applications_tab.html.haml' do
+ element :applications, required: true
+ end
+
view 'app/assets/javascripts/clusters/components/application_row.vue' do
element :install_button
element :uninstall_button
end
+ def open_details
+ has_element?(:details, wait: 30)
+ click_element :details
+ end
+
+ def open_applications
+ has_element?(:applications, wait: 30)
+ click_element :applications
+ end
+
def install!(application_name)
within_element(application_name) do
has_element?(:install_button, application: application_name, wait: 30)