Commit 93796580 authored by Jose Ivan Vargas's avatar Jose Ivan Vargas

Merge branch '20033-remove-status-in-merged-tab' into 'master'

Remove status dropdown in merged tab

Closes #20033

See merge request gitlab-org/gitlab!37544
parents ca5c28aa ddee7859
......@@ -9,6 +9,7 @@
.filter-item.inline.update-issues-btn.float-left
= button_tag _('Update all'), class: "btn update-selected-issues btn-info", disabled: true
= button_tag _('Cancel'), class: "btn btn-default js-bulk-update-menu-hide float-right"
- if params[:state] != 'merged'
.block
.title
= _('Status')
......
---
title: Remove status dropdown in merged tab
merge_request: 37544
author:
type: fixed
......@@ -37,6 +37,15 @@ RSpec.describe 'Merge requests > User mass updates', :js do
expect(page).to have_selector('.merge-request', count: 0)
end
end
it 'does not exist in merged state' do
merge_request.close
visit project_merge_requests_path(project, state: 'merged')
click_button 'Edit merge requests'
expect(page).not_to have_css('.js-issue-status')
end
end
context 'assignee' do
......
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