test(ios-smoke): answer deep-link prompt after readiness exhaustion

Merged
TH
2mo ago
+48-4

Summary

Keep the iOS smoke deep-link confirmation probe active when the destination wait ends during typed target discovery readiness (wait_readiness_exhausted). The helper previously returned before alert get, leaving iOS's “Open in Agent Device Tester?” confirmation unanswered. A runner startup readiness failure still returns after one wait without prompt probes. Two test-harness files changed; production behavior is unchanged.

Failure on #3006 and failure on #3032 both show a successful deep-link open, a failed first 15-second destination wait, no alert probe, then APP_NOT_RUNNING on the following wait. Final error details report wait_capture_stalled, readinessPhase: target-discovery, and zero readable captures; screenshots show the unanswered system confirmation. The first wait's exact reason is absent from uploaded artifacts, so the missing branch is inferred from control flow and verified by regression.

Validation

At 1fd5e01362f168d0ae545a44072337b8da4da6ea, rebased onto main 3fe2e6929: frozen install, build, repository-wide pnpm format, focused Node test (12 passed), and exact-head pnpm check:affected --run passed, including Node integration (119 passed, 12 skipped), lint, typecheck, and fallow. Removing the target discovery branch makes the confirmation test fail with only the first wait recorded; the branch was restored. Live iOS smoke on the rebased head is pending.