Commit b58d35dd authored by Mark Lapierre's avatar Mark Lapierre

Merge branch 'ld-remove-sleep-from-spec' into 'master'

Remove sleep from spec

See merge request gitlab-org/gitlab!45222
parents 3eaf80b7 c0c08760
......@@ -42,8 +42,7 @@ RSpec.describe 'Issue Sidebar' do
it 'shows author when filtering assignee dropdown' do
page.within '.dropdown-menu-user' do
find('.dropdown-input-field').native.send_keys user2.name
sleep 1 # Required to wait for end of input delay
find('.dropdown-input-field').set(user2.name)
wait_for_requests
......@@ -67,7 +66,7 @@ RSpec.describe 'Issue Sidebar' do
end
it 'keeps your filtered term after filtering and dismissing the dropdown' do
find('.dropdown-input-field').native.send_keys user2.name
find('.dropdown-input-field').set(user2.name)
wait_for_requests
......
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