Commit 30fa2357 authored by Coung Ngo's avatar Coung Ngo

Fix flaky test spec/features/issues/gfm_autocomplete_spec.rb

Attempt to fix "GFM autocomplete when tribute_autocomplete feature
flag is on when other notes are destroyed keeps autocomplete key
listeners" flaky test
parent cd36b8c8
...@@ -768,7 +768,8 @@ RSpec.describe 'GFM autocomplete', :js do ...@@ -768,7 +768,8 @@ RSpec.describe 'GFM autocomplete', :js do
def start_comment_with_emoji(note) def start_comment_with_emoji(note)
note.native.send_keys('Hello :10') note.native.send_keys('Hello :10')
# Wait for emoji popup wait_for_requests
find('.atwho-view li', text: '100') find('.atwho-view li', text: '100')
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