test(test-app): add a sign-in sheet lab for the hosted web auth surface

Merged
TH
10d ago
+691-5

Summary

Adds a test-app fixture for #2449. iOS presents a real ASWebAuthenticationSession sheet in SafariViewService. The committed read-only Maestro flow verifies the form controls in place, covering the surface involved in #4593 and #2438.

Across 19 files, the PR adds the fixture, flow, and launcher. The launcher starts and closes a loopback provider in its own process. The manual provider serves fixture values with an optional first-request delay.

Validation

  • e551b09a852760a4c89ccb9ed9b7d6891d7cd0c5 and 806f73c8c7c3d16214d6aad2faa3435d6c51243e: pnpm test-app:maestro:auth:ios -- --udid <sim> passed once each on iPhone 18 Pro Max, iOS 27.0. Both runs exited 0 and left TCP 4593 without a listener.
  • At head, both launcher tests, fixture app typecheck, and manual provider checks passed.
  • The exact-head affected gate recorded 19 passes and 25 CI/manual skips, then stopped at affected-selector with 22 checks unrun. The command-group cancellation test timed out before startup (command-execution.test.ts:34). A standalone pnpm run check:affected:test passed 93/93 on both e551b09a and head. The original failure remains unexplained.
  • Prior device evidence at 7fcb66f6: read-only flow passed 3/3. Driving the form produced two snapshot invariant refusals and one XCTest timeout. The reporter's iOS 27.2 remains untested.

CI owns Coverage, native builds and device jobs, provider integration, and history-dependent checks. The fixture adds a test-app-build-cache fingerprint. Adding this OAuth lane to iOS CI is a #2449 follow-up.

Refs #2449
Refs #4593
Refs #2438


Autofix with [code]smith
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.