Skip to content

Commit 13b47c3

Browse files
committed
patch 8.1.1604: popup window scroll test is flaky
Problem: Popup window scroll test is flaky. Solution: Add a delay between scroll events.
1 parent d74af42 commit 13b47c3

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

src/testdir/test_popupwin.vim

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1459,6 +1459,8 @@ func Test_popup_scrollbar()
14591459
call VerifyScreenDump(buf, 'Test_popupwin_scroll_6', {})
14601460

14611461
call term_sendkeys(buf, ":call ScrollDown()\<CR>")
1462+
" wait a bit, otherwise it fails sometimes (double click recognized?)
1463+
sleep 100m
14621464
call term_sendkeys(buf, ":call ScrollDown()\<CR>")
14631465
call VerifyScreenDump(buf, 'Test_popupwin_scroll_7', {})
14641466

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -777,6 +777,8 @@ static char *(features[]) =
777777

778778
static int included_patches[] =
779779
{ /* Add new patch number below this line */
780+
/**/
781+
1604,
780782
/**/
781783
1603,
782784
/**/

0 commit comments

Comments
 (0)