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 e9f7502
Browse filesBrowse the repository at this point in the historyBrowse files
fix(ios): route synthesized gestures to the sole screen when no window resolves
On a deep app tree (Bluesky's home feed at depth 62) XCTest's windows
query fails with kAXErrorIllegalArgument. Synthesized taps and scrolls
need no tree, but they could not name a window: the runner paid about 2s
of XCTest retries per app.frame read, then failed (scroll after 7.8s) or
fell back to an XCTest coordinate tap that crashed the runner after 18s.
When no window resolves on an iPhone with exactly one screen, take the
screen in the app's interface orientation as the reference frame and
route the record to that screen. Other devices keep requiring a window.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Copy file name to clipboardExpand all lines: apple/runner/AgentDeviceRunner/AgentDeviceRunnerUITests/UnitTests/RunnerTests+SynthesizedInteractionTests.swift
0 commit comments