summaryrefslogtreecommitdiff
path: root/test/snapshots/rsearch.snap
diff options
context:
space:
mode:
Diffstat (limited to 'test/snapshots/rsearch.snap')
-rw-r--r--test/snapshots/rsearch.snap11
1 files changed, 9 insertions, 2 deletions
diff --git a/test/snapshots/rsearch.snap b/test/snapshots/rsearch.snap
index c413c559..30459488 100644
--- a/test/snapshots/rsearch.snap
+++ b/test/snapshots/rsearch.snap
@@ -7,6 +7,10 @@
dirmk sub
file sub/dep.txt d1\nd2\nDEPTARGET\nd4\nd5\nd6
file code.txt run count_x now\nopen sub/dep.txt:3 here\ncount_x again\npick two words
+# 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 210 -n 1
wait 8000 code.txt
stable 700 20000
@@ -28,7 +32,9 @@ snap opened
# file, so the click searches for it: the results list both lines containing it.
press right 15 4
release right 15 4
-wait 10000 code.txt:1:5-11 run count_x
+# Locations stack the target under its line now: two rows, two waits.
+wait 10000 code.txt:1:5-11
+wait 10000 run count_x now
stable 700 15000
snap search
# right-SELECT `pick two` (line 4, sweep cols 8..15): a multi-word span passes
@@ -36,7 +42,8 @@ snap search
press right 8 7
drag right 15 7
release right 15 7
-wait 10000 code.txt:4:1-8 pick two
+wait 10000 code.txt:4:1-8
+wait 10000 pick two words
stable 700 15000
snap select
# right-CLICK the path `sub/dep.txt:3` (line 2, col 18): isFileChar keeps / . :