about summary refs log tree commit diff stats
path: root/tests/by-name/nv/nvim-neorg/test.desc
blob: bd7b73129e6a42f20456e843db95778dd058292d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
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