Merge branch 'bpj-small-pipeline-ui-changes' into 'master'
Make small pipeline schedules UI enhancements. Closes #32565 See merge request !12136
This commit is contained in:
commit
0037cf634d
|
@ -12,7 +12,7 @@
|
|||
.interval-pattern-form-group {
|
||||
label {
|
||||
margin-right: 10px;
|
||||
font-size: 12px;
|
||||
font-weight: normal;
|
||||
|
||||
&[for='custom'] {
|
||||
margin-right: 0;
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
.form-group
|
||||
.col-md-9
|
||||
= f.label :ref, _('Target Branch'), class: 'label-light'
|
||||
= dropdown_tag(_("Select target branch"), options: { toggle_class: 'btn js-target-branch-dropdown git-revision-dropdown-toggle', dropdown_class: 'git-revision-dropdown', title: _("Select target branch"), filter: true, placeholder: _("Filter"), data: { data: @project.repository.branch_names, default_branch: @project.default_branch } } )
|
||||
= dropdown_tag(_("Select target branch"), options: { toggle_class: 'btn js-target-branch-dropdown', dropdown_class: 'git-revision-dropdown', title: _("Select target branch"), filter: true, placeholder: _("Filter"), data: { data: @project.repository.branch_names, default_branch: @project.default_branch } } )
|
||||
= f.text_field :ref, value: @schedule.ref, id: 'schedule_ref', class: 'hidden', name: 'schedule[ref]', required: true
|
||||
.form-group
|
||||
.col-md-9
|
||||
|
|
|
@ -127,7 +127,7 @@ feature 'Pipeline Schedules', :feature do
|
|||
end
|
||||
|
||||
it 'shows the pipeline schedule with default ref' do
|
||||
page.within('.git-revision-dropdown-toggle') do
|
||||
page.within('.js-target-branch-dropdown') do
|
||||
expect(first('.dropdown-toggle-text').text).to eq('master')
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue