You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit b18479a
Browse filesBrowse the repository at this point in the historyBrowse files
fix(ios): open the sole-screen gesture route on a full-screen iPad app
A deep app tree makes XCTest's windows query fail with kAXErrorIllegalArgument,
and the synthesized-gesture route that recovers from it accepted only an iPhone:
the runner refused to name a screen it could not prove the app filled, so every
tap, long press, scroll, swipe, and back fallback on a hostile-tree iPad app
failed. iPad hosts run the same hostile trees as iPhone hosts.
RunnerApplicationFillsScreen now answers that proof in-process: it compares the
AXRuntime primary app's frame against the system app's frame, the same
comparison the Simulator snapshot bridge refuses a windowed capture on
(app-window-not-full-screen, ADR 0004). Neither read walks the app's tree. The
sole-screen rule keeps one owner (RunnerResolveSoleScreen) and opens on an iPad
only while the evidence says fills-screen; a windowed or Stage Manager app, and
any unknown, keeps requiring a resolved window.
The back fallback point now derives from the screen's own top safe-area inset
instead of a frame-height fraction, which sat below the iPad's navigation bar.
Co-Authored-By: Claude <[email protected]>
0 commit comments