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 521e511
Browse filesBrowse the repository at this point in the historyBrowse files
perf(ios): take a synthesized press series' touch frame from its context
A press series read the app frame and the windows query for its first
step's touch frame before any step ran. On a tree XCTest cannot
serialize each of those reads costs about 2 s of XCTest retries, and
now that held presses run as synthesized sequence steps that cost came
before every hold. A sequence with a synthesized context reads the frame
from that context, as the single longPress command does.
The long-press test now also pins zero frame reads and the held
duration of each synthesized hold.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Copy file name to clipboardExpand all lines: apple/runner/AgentDeviceRunner/AgentDeviceRunnerUITests/UnitTests/RunnerTests+SynthesizedInteractionTests.swift
+18-6Lines changed: 18 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -8,8 +8,13 @@ import ObjectiveC.runtime
8
8
/// depth 62 or more): the windows query finds no window and every element frame, the application's
0 commit comments