summaryrefslogtreecommitdiff
path: root/gui/test/restart.py
diff options
context:
space:
mode:
Diffstat (limited to 'gui/test/restart.py')
-rw-r--r--gui/test/restart.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/gui/test/restart.py b/gui/test/restart.py
index 166d8e3..a9447b5 100644
--- a/gui/test/restart.py
+++ b/gui/test/restart.py
@@ -59,6 +59,14 @@ expect stops 1
if zoom == 200:
# Tiny overlays reveal the new lens's header and keep its close control reachable.
commands += 'key z\nexpect lens_count 1\nframes 30\nclick 250 406\nexpect lens_count 2\nexpect lenses[1].cycle true\nframes 30\nclick 700 406\nexpect lens_count 1\nkey escape\n'
+ # Native glass shares the canvas: changing font size must not resize it.
+ commands += 'move 0 0\nkey z\nframes 10\n'
+ for cycle in range(3):
+ for zoom in (60, 200, 100):
+ shot = out / f'glass-{cycle}-{zoom}.png'
+ images.append(shot)
+ commands += f'console set zoom {zoom}\nframes 5\nscreenshot {shot}\n'
+ commands += 'key escape\n'
commands += '''hold left_ctrl
key minus
release left_ctrl