summaryrefslogtreecommitdiff
path: root/test/snapshots/dirpane.snap
diff options
context:
space:
mode:
Diffstat (limited to 'test/snapshots/dirpane.snap')
-rw-r--r--test/snapshots/dirpane.snap27
1 files changed, 27 insertions, 0 deletions
diff --git a/test/snapshots/dirpane.snap b/test/snapshots/dirpane.snap
new file mode 100644
index 00000000..a884b12e
--- /dev/null
+++ b/test/snapshots/dirpane.snap
@@ -0,0 +1,27 @@
+# a look at a directory opens a pane named for it with a trailing /, its
+# entries in columns as acme's directory window lays them out: down each
+# column first, a directory's marked /, dotfiles shown. A look at an entry
+# opens it from that directory. No shell anywhere: nothing here races a prompt.
+dirmk sub
+dirmk sub/deeper
+file sub/inner.txt inner-marker
+file sub/.hidden x
+file sub/alpha.txt x
+file sub/beta-gamma.txt x
+file sub/zeta x
+file top.txt sub
+config Verbose off
+start 24 80 top.txt
+wait 8000 top.txt
+stable 700 20000
+press right @sub 4
+release right @sub 4
+wait 8000 inner.txt
+stable 700 20000
+snap dir-open
+# an entry, by its name alone: sub's inner.txt
+press right @inner.txt 7
+release right @inner.txt 7
+wait 8000 inner-marker
+stable 700 20000
+snap entry-open