summaryrefslogtreecommitdiff
path: root/test/snapshots/tagbottomimage.snap
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-08-25 11:05:21 -0300
committerGabriel Schneider <[email protected]>2026-08-25 12:28:58 -0300
commite5f9e172330bc4500995ddd5954ed94f94e07af6 (patch)
treeaa7c5079b4c2951cef5b5c15595d0b20bc3ae245 /test/snapshots/tagbottomimage.snap
parent6f48508aa08396bcf9dd4da2cab1d221bcc53f78 (diff)
downloadpardes-e5f9e172330bc4500995ddd5954ed94f94e07af6.tar.gz
pardes-e5f9e172330bc4500995ddd5954ed94f94e07af6.zip
tests: a capture is a delta and a click names its word, so a tagline edit stops rewriting the suite
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