Wait for the terminal.clear to go through before continuing

Prevents some flakiness in tests
pull/180/head
Eric Freese 8 years ago
parent 89dd69d517
commit c3425870f1

@ -5,6 +5,8 @@ describe 'default strategy' do
session.run_command('source zsh-autosuggestions.zsh')
session.run_command('fc -p')
session.clear
wait_for { session.content }.to eq('')
end
after do

Loading…
Cancel
Save