# `home` must leave dashboard fullscreen, not only reach Dashboard/Dashboard.
#
# On the dashboard a tap anywhere toggles fullscreen (screen_overview.c's
# tap-catcher). On a panel a flow's `wake` is a real finger on the glass, so
# a flow that woke the panel on the dashboard left the next flow a 720x720
# canvas over the chrome: the rail gear at (47,676) resolved to
# `widget box=0,0,720x720` instead of `obj box=12,640,72x72`, and every
# hit against chrome failed from there (bench sample 2026-09-08, flare-edge
# #176). The runner's `home` preamble now clears fullscreen last, after the
# dashboard is the page again, so this is the regression guard for it.
#
# `wake` first, as every compiled flow does: by the time the control bridge is
# up the rig may already sit dimmed, and sleep.c swallows the touch that wakes
# a dimmed panel (flare-edge #148) -- the tap below must reach the tap-catcher.
wake
sleep 1
assert_page Dashboard/Dashboard
assert_hit 47 676 obj box=12,640,72x72
tap 360 360
sleep 1
assert_hit 47 676 widget box=0,0,720x720
home
sleep 1
assert_page Dashboard/Dashboard
assert_hit 47 676 obj box=12,640,72x72
# The same from another page: fullscreen on, leave, come home.
tap 360 360
sleep 1
assert_hit 47 676 widget box=0,0,720x720
nav Mining Devices/ASICs
sleep 1
home
sleep 1
assert_page Dashboard/Dashboard
assert_hit 47 676 obj box=12,640,72x72
