remove search_id for label dropdown filter

This commit is contained in:
Scott Le 2016-07-21 11:08:50 +07:00
parent 03738bdd48
commit 70ab2f72c6
3 changed files with 3 additions and 2 deletions

View file

@ -6,6 +6,7 @@ v 8.11.0 (unreleased)
- Retrieve rendered HTML from cache in one request
- Load project invited groups and members eagerly in ProjectTeam#fetch_members
- Add GitLab Workhorse version to admin dashboard (Katarzyna Kobierska Ula Budziszewska)
- Remove `search_id` of labels dropdown filter to fix 'Missleading URI for labels in Merge Requests and Issues view' !5368 (Scott Le)
v 8.10.1 (unreleased)
- Fix bug where replies to commit notes displayed in the MR discussion tab wouldn't show up on the commit page

View file

@ -4,7 +4,7 @@
- filter_placeholder = local_assigns.fetch(:filter_placeholder, 'Search labels')
.dropdown-page-one
= dropdown_title(title)
= dropdown_filter(filter_placeholder, search_id: "label-name")
= dropdown_filter(filter_placeholder)
= dropdown_content
- if @project && show_footer
= dropdown_footer do

View file

@ -205,7 +205,7 @@ feature 'Issue filtering by Labels', feature: true do
page.within '.labels-filter' do
click_button 'Label'
wait_for_ajax
fill_in 'label-name', with: 'bug'
find('.dropdown-input input').set 'bug'
page.within '.dropdown-content' do
expect(page).not_to have_content 'enhancement'