diff options
Diffstat (limited to 'qa/qa/page/project/operations/kubernetes/show.rb')
-rw-r--r-- | qa/qa/page/project/operations/kubernetes/show.rb | 20 |
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) |