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:
commit
c189bf11f4
3 changed files with 7 additions and 3 deletions
|
@ -25,7 +25,7 @@
|
||||||
%button.btn.btn-link
|
%button.btn.btn-link
|
||||||
= icon('search')
|
= icon('search')
|
||||||
%span
|
%span
|
||||||
Keep typing and press Enter
|
Press Enter or click to search
|
||||||
%ul.filter-dropdown{ data: { dynamic: true, dropdown: true } }
|
%ul.filter-dropdown{ data: { dynamic: true, dropdown: true } }
|
||||||
%li.filter-dropdown-item
|
%li.filter-dropdown-item
|
||||||
%button.btn.btn-link
|
%button.btn.btn-link
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
---
|
||||||
|
title: Change hint on first row of filters dropdown to `Press Enter or click to search`
|
||||||
|
merge_request: 10138
|
||||||
|
author:
|
|
@ -43,10 +43,10 @@ describe 'Dropdown hint', js: true, feature: true do
|
||||||
end
|
end
|
||||||
|
|
||||||
describe 'filtering' do
|
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')
|
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)
|
expect(dropdown_hint_size).to eq(0)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue