summaryrefslogtreecommitdiff
path: root/test/web-snapshots/source-list.snap
diff options
context:
space:
mode:
Diffstat (limited to 'test/web-snapshots/source-list.snap')
-rw-r--r--test/web-snapshots/source-list.snap23
1 files changed, 18 insertions, 5 deletions
diff --git a/test/web-snapshots/source-list.snap b/test/web-snapshots/source-list.snap
index 61cb94d3..3f1a2a20 100644
--- a/test/web-snapshots/source-list.snap
+++ b/test/web-snapshots/source-list.snap
@@ -1,16 +1,29 @@
# Browser-only .snap commands. The page is built from a dump made by a real
-# Pardes TTY after running `git ls-files '*.zig'`; touch events below are
-# injected through Chrome's real browser input path.
+# Pardes TTY after running the same tracked-plus-new/nonignored source selection
+# as the web archive generator; touch events below use Chrome's browser path.
wait 10000 uucode_config.zig
stable 100 5000
-snap launcher
+snap launcher-bottom
+
+# Replayed terminal state follows its live cursor at the bottom. Scroll to the
+# first half as an actual browser gesture: together these two snapshots cover
+# every path instead of silently testing only a stale suffix. The dump command
+# is sorted like the archive, leaving build.zig at row 3 once we reach the top.
+swipe 4 60 2 60 34 40
+wait 10000 build.zig
+stable 100 5000
+snap launcher-top
# A little sub-slop movement is still a tap. On web one-finger taps are LOOK,
-# so this opens build.zig from the archive generated from Git-tracked sources.
+# so this opens build.zig from the working-tree archive generated from Git's
+# tracked-plus-new/nonignored source view.
touch down 1 5 3
touch move 1 5.2 3.1
touch up 1 5.2 3.1
-wait 10000 build.zig Save New Del
+# The editable path and the right-aligned command tail deliberately have
+# layout-owned padding between them. Check the two semantic facts separately.
+wait 10000 Save New Del
+wait 10000 build.zig
stable 100 5000
snap source-open
snapstyle source-open