Commit c25235b2 authored by Scott Hampton's avatar Scott Hampton

Merge branch 'msj-merge-trains-settings-period' into 'master'

Fix unnecessary period in MR settings

See merge request gitlab-org/gitlab!57841
parents 1e5707b5 af2a4248
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
.gl-pl-6 .gl-pl-6
= form.check_box :merge_trains_enabled, class: 'form-check-input js-merge-options-merge-trains gl-pl-6', data: { qa_selector: 'merge_trains_checkbox' } = form.check_box :merge_trains_enabled, class: 'form-check-input js-merge-options-merge-trains gl-pl-6', data: { qa_selector: 'merge_trains_checkbox' }
= form.label :merge_trains_enabled, class: 'form-check-label' do = form.label :merge_trains_enabled, class: 'form-check-label' do
= s_('ProjectSettings|Enable merge trains.') = s_('ProjectSettings|Enable merge trains')
.text-secondary.mb-2 .text-secondary.mb-2
- merge_trains_help_link_url = help_page_path('ci/merge_request_pipelines/pipelines_for_merged_results/merge_trains/index.md') - merge_trains_help_link_url = help_page_path('ci/merge_request_pipelines/pipelines_for_merged_results/merge_trains/index.md')
- merge_trains_help_link_start = '<a href="%{url}" target="_blank" rel="noopener noreferrer">'.html_safe % { url: merge_trains_help_link_url } - merge_trains_help_link_start = '<a href="%{url}" target="_blank" rel="noopener noreferrer">'.html_safe % { url: merge_trains_help_link_url }
......
...@@ -54,7 +54,7 @@ RSpec.describe 'Disable Merge Trains Setting', :js do ...@@ -54,7 +54,7 @@ RSpec.describe 'Disable Merge Trains Setting', :js do
include_examples 'loads correct checkbox state' include_examples 'loads correct checkbox state'
it "checking merge trains checkbox doesn't affect merge pipelines checkbox" do it "checking merge trains checkbox doesn't affect merge pipelines checkbox" do
check('Enable merge trains.') check('Enable merge trains')
expect(find('#project_merge_trains_enabled')).to be_checked expect(find('#project_merge_trains_enabled')).to be_checked
expect(find('#project_merge_pipelines_enabled')).not_to be_disabled expect(find('#project_merge_pipelines_enabled')).not_to be_disabled
...@@ -69,7 +69,7 @@ RSpec.describe 'Disable Merge Trains Setting', :js do ...@@ -69,7 +69,7 @@ RSpec.describe 'Disable Merge Trains Setting', :js do
end end
it 'unchecking merge pipelines checkbox unchecks merge trains checkbox if it was previously checked' do it 'unchecking merge pipelines checkbox unchecks merge trains checkbox if it was previously checked' do
check('Enable merge trains.') check('Enable merge trains')
uncheck('Enable merged results pipelines') uncheck('Enable merged results pipelines')
expect(find('#project_merge_pipelines_enabled')).not_to be_checked expect(find('#project_merge_pipelines_enabled')).not_to be_checked
...@@ -120,7 +120,7 @@ RSpec.describe 'Disable Merge Trains Setting', :js do ...@@ -120,7 +120,7 @@ RSpec.describe 'Disable Merge Trains Setting', :js do
end end
it "unchecking merge trains checkbox doesn't affect merge pipelines checkbox" do it "unchecking merge trains checkbox doesn't affect merge pipelines checkbox" do
uncheck('Enable merge trains.') uncheck('Enable merge trains')
expect(find('#project_merge_trains_enabled')).not_to be_checked expect(find('#project_merge_trains_enabled')).not_to be_checked
expect(find('#project_merge_pipelines_enabled')).not_to be_disabled expect(find('#project_merge_pipelines_enabled')).not_to be_disabled
......
...@@ -24131,7 +24131,7 @@ msgstr "" ...@@ -24131,7 +24131,7 @@ msgstr ""
msgid "ProjectSettings|Enable \"Delete source branch\" option by default" msgid "ProjectSettings|Enable \"Delete source branch\" option by default"
msgstr "" msgstr ""
msgid "ProjectSettings|Enable merge trains." msgid "ProjectSettings|Enable merge trains"
msgstr "" msgstr ""
msgid "ProjectSettings|Enable merged results pipelines" msgid "ProjectSettings|Enable merged results pipelines"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment