summaryrefslogtreecommitdiff
path: root/test/snapshots/find.snap
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-08 23:28:26 -0300
committerGabriel Schneider <[email protected]>2026-11-09 01:28:28 -0300
commit2c13f29da2441d0e0fb11f11bb7a180054030cc9 (patch)
treebff1a7a8e92d5acdc354ed4e6da956dc0fa209dc /test/snapshots/find.snap
parent094b562b5b90558e82a9c3e2beea386d93bd1803 (diff)
downloadpardes-2c13f29da2441d0e0fb11f11bb7a180054030cc9.tar.gz
pardes-2c13f29da2441d0e0fb11f11bb7a180054030cc9.zip
tests: the editing snapshot scripts (41: modes, selections, look, search, the language client, diffs, tags) are process cases, test/process/tty_editing.zig, their goldens unchanged; checked against the old runner by two breaks, look's centring a third of the pane down (the same 4 fail in both) and the tty reading a drag as a motion (the same 7), grep the one flake in both, cured by the run alone
Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
Diffstat (limited to 'test/snapshots/find.snap')
-rw-r--r--test/snapshots/find.snap71
1 files changed, 0 insertions, 71 deletions
diff --git a/test/snapshots/find.snap b/test/snapshots/find.snap
deleted file mode 100644
index 17470040..00000000
--- a/test/snapshots/find.snap
+++ /dev/null
@@ -1,71 +0,0 @@
-# SPC f f: a query pane under the pane (Query.zig), line 1 `Find `, typed
-# into. The files below the pane's directory are listed once, on the disk
-# engine's worker (rg --files when it is on PATH, else the sorted walk: both
-# pass over .git), and each key scores them fuzzily (pick's scorer), the best
-# first, the matched letters tinted. The current one is shown in the
-# +Preview under the query pane, born with it so nothing moves later;
-# Ctrl-n / Ctrl-p step it, never the pointer. Enter makes the preview the
-# file's pane where it stands. Esc while typing closes the query pane and
-# gives its rows back. A query that matches nothing is a count of 0, not an
-# exit. B2 on `Find` with a selection asks with that word, the keyboard
-# staying in the text.
-dirmk sub
-dirmk sub/nest
-dirmk .git
-file here.txt Find zqm
-file zqmark-alpha.txt alpha body
-file sub/ZQMARK-beta.txt beta body
-file sub/nest/zqmark-gamma.txt gamma body
-file other.txt nothing to match here
-file .git/zqmark-hidden.txt hidden body
-start 41 120 here.txt
-wait 8000 here.txt
-stable 700 20000
-# SPC f is a group (Find, New, Save, Recent, Grep): the indicator waits
-key space
-key f
-stable 400 5000
-snap group
-# the second f opens the query pane: every file listed, line 1 `Find `
-key f
-wait 10000 zqmark-alpha.txt
-stable 700 15000
-snap armed
-text zqm
-stable 700 15000
-snap typing
-# the next one current, its text in the preview
-key c-n
-wait 10000 beta body
-stable 700 15000
-snap next
-# Enter: the preview is that file's pane now, where it stood
-key enter
-stable 700 15000
-snap promoted
-# a second Find from here.txt reuses its query pane; nothing found is 0
-press left 8 4
-release left 8 4
-stable 400 5000
-key space
-key f
-key f
-text zzqq
-stable 700 15000
-snap nomatch
-# Esc: the kept rows of the last query are back
-key esc
-settle 100
-stable 700 15000
-snap cancel
-# B2 on Find with `zqm` selected in here.txt: the query pane under it, the
-# keyboard still in here.txt
-press left 13 4
-drag left 15 4
-release left 15 4
-stable 400 5000
-press middle @Find 1
-release middle @Find 1
-wait 10000 Find zqm
-stable 700 15000
-snap topbar