summaryrefslogtreecommitdiff
path: root/test/snapshots/tagbottomimage.snap
diff options
context:
space:
mode:
Diffstat (limited to 'test/snapshots/tagbottomimage.snap')
-rw-r--r--test/snapshots/tagbottomimage.snap22
1 files changed, 12 insertions, 10 deletions
diff --git a/test/snapshots/tagbottomimage.snap b/test/snapshots/tagbottomimage.snap
index f361186d..94f1e013 100644
--- a/test/snapshots/tagbottomimage.snap
+++ b/test/snapshots/tagbottomimage.snap
@@ -43,16 +43,18 @@ key esc
settle 100
stable 400 5000
# ...and EXECUTE `Del` on that bottom tagline, which is the assertion the
-# pixels cannot make: the middle click has to map row 29 to the image pane's
+# pixels cannot make: the middle click has to map row 15 to the image pane's
# TAG row rather than to a body row it has no body for. The image pane goes
-# away entirely and the shell takes the whole window back. Source-local
-# columns plus the image-state prefix clip Del at 150 columns, so briefly widen
-# the grid: the test still clicks the visible bottom-tag word, never the path.
-resize 30 300
-stable 400 5000
-press middle 95 30
-release middle 95 30
-stable 400 5000
-resize 30 150
+# away entirely and the shell takes the whole window back.
+#
+# Row 15 is the image pane's OWN last row, which is where Tagbottom puts its
+# tag; row 30 is the shell's. This used to click column 95 of row 30, which is
+# blank space 176 columns short of the shell's right-aligned `Del` and in the
+# wrong pane besides, so it deleted nothing and the golden recorded an image
+# pane that never went away - along with a widen-to-300-and-back either side of
+# it, scaffolding for a column that was wrong anyway. `New Newtty Del` is fully
+# on screen at 150 columns (see the img-bottom capture above).
+press middle @Del 15
+release middle @Del 15
stable 700 15000
snap del-image