Commit 1afac734 authored by Bob Van Landuyt's avatar Bob Van Landuyt

Merge branch 'hly-fix-flaky-spec' into 'master'

Fix flaky spec due to JS not being initialized yet

See merge request gitlab-org/gitlab!19425
parents 047786b8 5e0005d7
...@@ -28,6 +28,7 @@ describe 'User uses header search field', :js do ...@@ -28,6 +28,7 @@ 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('body').native.send_keys('s') find('body').native.send_keys('s')
end 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