summaryrefslogtreecommitdiffstats
path: root/tests/old/by-name/nv/nvim-neorg/test.desc
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2026-10-30 15:15:04 +0100
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2026-10-30 15:15:04 +0100
commit43dac390967e2e85da0b3fcd84043a77cfaddfd0 (patch)
tree93f09b804bcded8b59db6f619e18ec4b6265b8c2 /tests/old/by-name/nv/nvim-neorg/test.desc
parenttreewide: Align files with the same files in the `nixos-server` repo (diff)
downloadnixos-config-43dac390967e2e85da0b3fcd84043a77cfaddfd0.zip
treewide: Align the rest of the files with the server repository
Diffstat (limited to 'tests/old/by-name/nv/nvim-neorg/test.desc')
-rw-r--r--tests/old/by-name/nv/nvim-neorg/test.desc73
1 files changed, 73 insertions, 0 deletions
diff --git a/tests/old/by-name/nv/nvim-neorg/test.desc b/tests/old/by-name/nv/nvim-neorg/test.desc
new file mode 100644
index 00000000..bd1e8f49
--- /dev/null
+++ b/tests/old/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 1.0
+
+Expect ^11\s*◉ Some other content$
+
+Type :q!
+Sleep 0.5
+Type Enter
+Sleep 1
+
+# vim: ft=tape