comparison src/testdir/test_popup.vim @ 12726:00baa23b7759 v8.0.1241

patch 8.0.1241: popup test is flaky commit https://github.com/vim/vim/commit/89c394faca40d2f5d57705432a433173b295bf73 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Oct 31 22:19:58 2017 +0100 patch 8.0.1241: popup test is flaky Problem: Popup test is flaky. (James McCoy) Solution: Increase the wait time. (Dominique Pelle)
author Christian Brabandt <cb@256bit.org>
date Tue, 31 Oct 2017 22:30:05 +0100
parents 6daad7ef16be
children 4ca72d1ed7f0
comparison
equal deleted inserted replaced
12725:f7cfd496a5ff 12726:00baa23b7759
637 if h < 15 637 if h < 15
638 return 638 return
639 endif 639 endif
640 let g:buf = term_start([GetVimProg(), '--clean', '-c', 'set noswapfile'], {'term_rows': h / 3}) 640 let g:buf = term_start([GetVimProg(), '--clean', '-c', 'set noswapfile'], {'term_rows': h / 3})
641 call term_sendkeys(g:buf, (h / 3 - 1)."o\<esc>") 641 call term_sendkeys(g:buf, (h / 3 - 1)."o\<esc>")
642 call term_wait(g:buf, 200) 642 call term_wait(g:buf, 500)
643 call term_sendkeys(g:buf, "Gi\<c-x>") 643 call term_sendkeys(g:buf, "Gi\<c-x>")
644 call term_sendkeys(g:buf, "\<c-v>") 644 call term_sendkeys(g:buf, "\<c-v>")
645 call term_wait(g:buf, 100) 645 call term_wait(g:buf, 100)
646 " popup first entry "!" must be at the top 646 " popup first entry "!" must be at the top
647 call WaitFor('term_getline(g:buf, 1) =~ "^!"') 647 call WaitFor('term_getline(g:buf, 1) =~ "^!"')