diff options
author | Mike Greiling <mike@pixelcog.com> | 2018-08-06 21:51:37 +0000 |
---|---|---|
committer | Clement Ho <clemmakesapps@gmail.com> | 2018-08-06 21:51:37 +0000 |
commit | e3127132a498cd3a39a325a5c0912ca6121e2f8a (patch) | |
tree | a4ab1c6cdd871dd6f4134387bed9da4021c0ec0d /qa | |
parent | d737abc537476bf2b500f550b0c733d22f338cf1 (diff) | |
download | gitlab-ce-e3127132a498cd3a39a325a5c0912ca6121e2f8a.tar.gz |
Resolve "Improve Auto DevOps settings flow for admin and project"
Diffstat (limited to 'qa')
-rw-r--r-- | qa/qa/page/project/settings/ci_cd.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/qa/qa/page/project/settings/ci_cd.rb b/qa/qa/page/project/settings/ci_cd.rb index 0f739f61db9..752d3d93407 100644 --- a/qa/qa/page/project/settings/ci_cd.rb +++ b/qa/qa/page/project/settings/ci_cd.rb @@ -12,9 +12,9 @@ module QA # rubocop:disable Naming/FileName end view 'app/views/projects/settings/ci_cd/_autodevops_form.html.haml' do - element :enable_auto_devops_field, 'radio_button :enabled' + element :enable_auto_devops_field, 'check_box :enabled' element :domain_field, 'text_field :domain' - element :enable_auto_devops_button, "%strong= s_('CICD|Enable Auto DevOps')" + element :enable_auto_devops_button, "%strong= s_('CICD|Default to Auto DevOps pipeline')" element :domain_input, "%strong= _('Domain')" element :save_changes_button, "submit _('Save changes')" end @@ -33,7 +33,7 @@ module QA # rubocop:disable Naming/FileName def enable_auto_devops_with_domain(domain) expand_section(:autodevops_settings) do - choose 'Enable Auto DevOps' + check 'Default to Auto DevOps pipeline' fill_in 'Domain', with: domain click_on 'Save changes' end |