summaryrefslogtreecommitdiff
path: root/test/snapshots/tagbottom.snap
diff options
context:
space:
mode:
Diffstat (limited to 'test/snapshots/tagbottom.snap')
-rw-r--r--test/snapshots/tagbottom.snap15
1 files changed, 11 insertions, 4 deletions
diff --git a/test/snapshots/tagbottom.snap b/test/snapshots/tagbottom.snap
index a6a7a882..67bb2ead 100644
--- a/test/snapshots/tagbottom.snap
+++ b/test/snapshots/tagbottom.snap
@@ -17,6 +17,10 @@
# exactly: `off` is byte-for-byte `boot`, cursor included.
file top.txt aaa\nbbb\nccc\nddd\neee\nfff\nggg\nhhh\niii\njjj\nkkk\nlll\nmmm\nnnn\nooo\nppp\nqqq\nrrr\nsss\nttt\nuuu\nvvv\nwww\nxxx\nyyy\nzzz
file bottom.txt ZZONE\nZZTWO
+# Builtins announce themselves by default, and an announcement is a band at
+# the top of the body -- which moves every row this script clicks. What the
+# verbs do is what is under test, not the announcement.
+config Verbose off
start 31 100 top.txt
wait 8000 Newcol Joincol
wait 8000 top.txt
@@ -38,8 +42,11 @@ stable 700 15000
# cursor is down on the tagline with it. Col 50 is past the end of the path,
# which is read-only — a click inside it parks the cursor there and the typing
# goes nowhere.
-press left 50 31
-release left 50 31
+# Past the last word rather than at a counted column: the tagline's words
+# have moved since (Del is last now), and a column that lands INSIDE one
+# types the filename into the middle of a builtin's name.
+press left 90 31
+release left 90 31
stable 400 5000
send \x20bottom.txt
stable 600 8000
@@ -48,8 +55,8 @@ snap tag-typed
# ...and LOOK the word just typed, from that same bottom tagline: bottom.txt
# opens as a second pane below. It only can if the press was mapped to the tag
# — mapped as a body row it lands on blank line 29 and looks nothing at all.
-press right 55 31
-release right 55 31
+press right @bottom.txt 31
+release right @bottom.txt 31
wait 10000 ZZONE
stable 700 15000
snap look-bottom-tag