From 4a7948ea2ef1836f5b823b1b97d6ae0e8867e9ac Mon Sep 17 00:00:00 2001 From: Dylan Griffith Date: Fri, 15 Feb 2019 01:24:33 +0000 Subject: Fix setting domain in QA Auto DevOps specs The domain name setting was not doing anything (as far as I could tell). Now we set the input and save the form. This was a regression introduced in https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/24580/diffs --- app/views/clusters/clusters/_form.html.haml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app/views') diff --git a/app/views/clusters/clusters/_form.html.haml b/app/views/clusters/clusters/_form.html.haml index 7acd9ce0562..9fb91a39387 100644 --- a/app/views/clusters/clusters/_form.html.haml +++ b/app/views/clusters/clusters/_form.html.haml @@ -28,7 +28,7 @@ .form-group %h5= s_('ClusterIntegration|Base domain') - = field.text_field :base_domain, class: 'col-md-6 form-control js-select-on-focus' + = field.text_field :base_domain, class: 'col-md-6 form-control js-select-on-focus qa-base-domain' .form-text.text-muted - auto_devops_url = help_page_path('topics/autodevops/index') - auto_devops_start = ''.html_safe % { url: auto_devops_url } @@ -43,4 +43,4 @@ - if can?(current_user, :update_cluster, @cluster) .form-group - = field.submit _('Save changes'), class: 'btn btn-success' + = field.submit _('Save changes'), class: 'btn btn-success qa-save-domain' -- cgit v1.2.3