From 3d56f37098c21786b327d98a93d0a7d1f2091b74 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Sat, 30 Nov 2024 23:10:38 +0100 Subject: feat(tests/nvim-neorg): Init --- tests/by-name/nv/nvim-neorg/test.desc | 73 +++++++++++++++++++++++++++++++++++ 1 file changed, 73 insertions(+) create mode 100644 tests/by-name/nv/nvim-neorg/test.desc (limited to 'tests/by-name/nv/nvim-neorg/test.desc') diff --git a/tests/by-name/nv/nvim-neorg/test.desc b/tests/by-name/nv/nvim-neorg/test.desc new file mode 100644 index 00000000..bd7b7312 --- /dev/null +++ b/tests/by-name/nv/nvim-neorg/test.desc @@ -0,0 +1,73 @@ +Type nvim +Sleep 3 +Type Enter +Sleep 9 +# Remove the spellfile download prompt +Type C-c +ExpectNot Warning: Cannot find word list +Expect Nvim is open source and freely distributable + +Type :NeorgStart +Sleep 1.5 +Type Enter +Sleep 4 + +Type :Neorg workspace general +Sleep 1.5 +Type Enter +Sleep 4 + + +Type 10t +Sleep 0.5 + +# Cursor is on the first heading +Type iMARKER +Sleep 0.5 +Type Escape +Sleep 2 +Expect ^11\s*MARKER◉ First heading$ + +# Now moves to the link to the second +Type t +Sleep 0.2 +Type $ +Sleep 0.2 +Type h +Sleep 0.2 +Type Enter +Sleep 0.5 + +# Should be on the second +Type iMARKER +Sleep 0.5 +Type Escape +Sleep 2 +Expect ^15\s*◉ MARKERSecond heading$ + +# Moves to the references file +Type t +Sleep 0.2 +Type $ +Sleep 0.2 +Type h +Sleep 0.2 +Type Enter +Sleep 0.5 + +# Skip another spell file prompt +Type Enter +Sleep 0.5 + + +Type 10t +Sleep 0.5 + +Expect ^11\s*◉ Some other content$ + +Type :q! +Sleep 0.5 +Type Enter +Sleep 1 + +# vim: ft=tape -- cgit 1.4.1