diff options
Diffstat (limited to 'spec/features/issues')
-rw-r--r-- | spec/features/issues/filtered_search/search_bar_spec.rb | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/spec/features/issues/filtered_search/search_bar_spec.rb b/spec/features/issues/filtered_search/search_bar_spec.rb index 90eb60eb337..f4e93ee8848 100644 --- a/spec/features/issues/filtered_search/search_bar_spec.rb +++ b/spec/features/issues/filtered_search/search_bar_spec.rb @@ -86,10 +86,6 @@ describe 'Search bar', js: true, feature: true do end it 'resets the dropdown filters' do - filtered_search.set('a') - hint_style = page.find('#js-dropdown-hint')['style'] - hint_offset = get_left_style(hint_style) - filtered_search.set('author:') expect(page.all('#js-dropdown-hint .filter-dropdown .filter-dropdown-item').size).to eq(0) @@ -98,7 +94,7 @@ describe 'Search bar', js: true, feature: true do filtered_search.click expect(page.all('#js-dropdown-hint .filter-dropdown .filter-dropdown-item').size).to be > 0 - expect(get_left_style(page.find('#js-dropdown-hint')['style'])).to eq(hint_offset) + expect(get_left_style(page.find('#js-dropdown-hint')['style'])).to eq(0) end end end |