fix(ios-runner): one synthesize-then-fallback helper; sequence taps use the standalone tap policy
Merged
TH
2mo ago+256+256+012345678901234567890123456789-198-198-012345678901234567890123456789
Summary
One helper now owns synthesize-then-XCTest-fallback at every synthesized tap site in the Apple
runner, instead of each call site improvising its own fallback. Sequence tap steps now go through
the standalone tap's .coordinateTap policy, including its nil-context behavior, so a sequence tap
and a standalone tap on the same target report the same interaction kind. Unused synthesized-gesture
policy cases were removed along with the divergent per-site fallback logic; net production is about
-34 lines. Touches 16 files.
Closes #2788
Validation
Tested at head 2d0f9562ba68e0e95e7d269f88807b88e250dbdc.
pnpm check:affected --run: all runnable checks passed (unit, xctest-selection,
packaged-runner-swift, maestro-conformance, mutation-model).check:xctest-selection: 299 declared methods; host lane reaches 243, PR iOS-Simulator lane
selects 110, nightly reaches 297; 0 unreachable.- Runner XCTest suite exercised live on an iOS Simulator; the macOS host lane is blocked locally by
signing and is covered by CI instead. - Live evidence from the pre-rebase validation at
445e197fe2: before the fix, a sequence tap
loggedkind=synthesizedDragwhere the standalone tap loggedkind=coordinateTapon the same
target; after the fix, both reportcoordinateTapand both land. - AX-unavailable fallback path is covered only by the simulator test, not by a unit test.
- Known gap: no test currently fails if the nil-context early return in
performSequenceStepis
reintroduced; this is unenforced regression risk on that one branch. - Rebased over #2854 and #2855's test-file moves; reviewed.