summaryrefslogtreecommitdiff
path: root/test/snapshots/images.snap
diff options
context:
space:
mode:
Diffstat (limited to 'test/snapshots/images.snap')
-rw-r--r--test/snapshots/images.snap29
1 files changed, 29 insertions, 0 deletions
diff --git a/test/snapshots/images.snap b/test/snapshots/images.snap
new file mode 100644
index 00000000..1b9bf715
--- /dev/null
+++ b/test/snapshots/images.snap
@@ -0,0 +1,29 @@
+# image panes: right-click a .ppm opens petscii glyph art (no kitty in the
+# harness); the live tag toggles palette (C64<->Term) and Ascii glyphs
+ppmdiag pic.ppm
+start 30 100
+wait 8000 pic.ppm
+stable 700 20000
+press left 5 8
+release left 5 8
+stable 400 5000
+key i
+text pic.ppm
+key esc
+settle 700
+press right 6 8
+release right 6 8
+wait 10000 img
+stable 700 20000
+snap img-open
+snapstyle img-open
+# toggle palette to terminal colors: middle-click the C64 word in the tag
+press middle 57 2
+release middle 57 2
+stable 700 15000
+snapstyle term-palette
+# toggle Ascii off
+press middle 62 2
+release middle 62 2
+stable 700 15000
+snapstyle no-ascii