Commit 86ed7877 authored by Tim Zallmann's avatar Tim Zallmann

Updated Spec selectors for global search

parent fdaec9b7
...@@ -28,7 +28,7 @@ RSpec.describe 'User uses header search field', :js do ...@@ -28,7 +28,7 @@ RSpec.describe 'User uses header search field', :js do
context 'when using the keyboard shortcut' do context 'when using the keyboard shortcut' do
before do before do
find('#search.js-autocomplete-disabled') find('#search')
find('body').native.send_keys('s') find('body').native.send_keys('s')
end end
...@@ -39,7 +39,7 @@ RSpec.describe 'User uses header search field', :js do ...@@ -39,7 +39,7 @@ RSpec.describe 'User uses header search field', :js do
context 'when clicking the search field' do context 'when clicking the search field' do
before do before do
page.find('#search.js-autocomplete-disabled').click page.find('#search').click
end end
it 'shows category search dropdown' do it 'shows category search dropdown' do
......
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