From cf84872ad1ca20234396a826223beea618b18c81 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Sat, 30 Nov 2024 08:36:52 +0100 Subject: fix(tests/nvim-checkhealth): Increase the sleeptime after typing Otherwise, the command might not have been run, when we depend on it later. --- tests/by-name/nv/nvim-checkhealth/test.desc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/by-name/nv/nvim-checkhealth/test.desc') diff --git a/tests/by-name/nv/nvim-checkhealth/test.desc b/tests/by-name/nv/nvim-checkhealth/test.desc index 66f87cf4..4d977c0c 100644 --- a/tests/by-name/nv/nvim-checkhealth/test.desc +++ b/tests/by-name/nv/nvim-checkhealth/test.desc @@ -3,7 +3,7 @@ Sleep 2 # We open a `*.norg` file to run the norg ftplugin. Type nvim test.norg --headless "+set nospell" "+checkhealth" "+w! health.log" +q +wa +qa -Sleep 0.5 +Sleep 1 Type Enter # TODO: The test system should be able to just wait until a command has finished. <2024-11-23> @@ -13,7 +13,7 @@ Sleep 240 # The `checkhealth` output is not reproducible. # Thus only output the warnings/errors. Type batgrep --ignore-case 'warning|error' health.log > new_golden -Sleep 0.5 +Sleep 1 Type Enter Sleep 2 -- cgit 1.4.1