Merge branch '29828-change-search-hint-in-new-filters' into 'master'

Update copy for first row in filtered search dropdown

Closes #29828

See merge request !10138
This commit is contained in:
Clement Ho 2017-03-29 16:53:32 +00:00
commit c189bf11f4
3 changed files with 7 additions and 3 deletions

View file

@ -25,7 +25,7 @@
%button.btn.btn-link
= icon('search')
%span
Keep typing and press Enter
Press Enter or click to search
%ul.filter-dropdown{ data: { dynamic: true, dropdown: true } }
%li.filter-dropdown-item
%button.btn.btn-link

View file

@ -0,0 +1,4 @@
---
title: Change hint on first row of filters dropdown to `Press Enter or click to search`
merge_request: 10138
author:

View file

@ -43,10 +43,10 @@ describe 'Dropdown hint', js: true, feature: true do
end
describe 'filtering' do
it 'does not filter `Keep typing and press Enter`' do
it 'does not filter `Press Enter or click to search`' do
filtered_search.set('randomtext')
expect(page).to have_css(js_dropdown_hint, text: 'Keep typing and press Enter', visible: false)
expect(page).to have_css(js_dropdown_hint, text: 'Press Enter or click to search', visible: false)
expect(dropdown_hint_size).to eq(0)
end