Commit c189bf11 authored by Clement Ho's avatar Clement Ho

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
parents 4d9cc941 a1cd443b
......@@ -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
......
---
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
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
......
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