Repository navigation
Open
Labels
Description
Purpose
Follow-up to #2438 / #2448: give the in-place com.apple.SafariViewService sign-in-sheet drive a committed fixture and CI coverage on the real path.
Status: the fixture half is done
The committed fixture landed via #4708 (7c1934fc, released v0.21.40) — not as an expo-web-browser flow, but as a native ASWebAuthenticationSession lab:
examples/test-app/modules/auth-session-lab/, presented fromSettingsScreen.tsx(open-auth-session-lab,:115-121);- a loopback IdP (
examples/test-app/src/auth-idp-server.mjs); - a lane script wired to
pnpm test-app:maestro:auth:ios(rootpackage.json:212→scripts/run-test-app-auth-session-lane.mjs).
Remaining defect: nothing drives it through submit, and CI never runs it
Verified against origin/main 3c68c19ed3:
examples/test-app/maestro-ios/auth-session-sheet.yamlasserts the sheet's Email/Password/LOGIN text and stops — its own comment names the open blocker iOS Simulator:regular iOS snapshot presentation requires a valid viewportwhile an ASWebAuthenticationSession login sheet is loading (intermittent, ~30-60% of flows on CI) #4593 ("Stop before typing or submitting, which can encounter the capture refusals in iOS Simulator:regular iOS snapshot presentation requires a valid viewportwhile an ASWebAuthenticationSession login sheet is loading (intermittent, ~30-60% of flows on CI) #4593"), still open. The semantic sign-in flow this issue asks for (wait label="LOGIN"→ press textfield +type→fill role=securetextfield→ press LOGIN → assert return to app) is therefore not expressible on the current lane.- No workflow in
.github/workflows/invokestest-app:maestro:auth:ios, so the lane exists but the regression guard does not run.
Required behavior
- Extend the Maestro lane through typing, submit, and the return to the app once iOS Simulator:
regular iOS snapshot presentation requires a valid viewportwhile an ASWebAuthenticationSession login sheet is loading (intermittent, ~30-60% of flows on CI) #4593's capture refusals are resolved — with the cold-start caveat from the 2026-09-10 comment:wait stable/wait <element>before reading the sheet rather than snapshotting immediately. - Invoke the lane from CI so the lane fails if the sheet is not served (the route-bypass + runner-serve guard the original body asked for).
Completion conditions
CI runs the lane on the shipped runner; the flow types, submits, and asserts the return to the app; a regression that breaks the in-place serve turns CI red.
Blocked by: #4593 for the typing/submit half. The CI-invocation half is independent of it and can land first against the current assert-only flow.
Activity
thymikee commentedon Sep 10, 2026
Sequenced behind #2448 deliberately: this lane asserts the semantic sign-in flow (
wait label="LOGIN"→press role=textfield+type→fill role=securetextfield→ submit), which only passes once the in-place serve lands. Building it againstmainfirst would land a red lane.Plan when #2448 merges: stack the fixture + lane on it, then validate live on a simulator. Note the cold-start caveat — the first capture after a cold runner can return 0 nodes (pre-existing, tracked as #2343), so the lane should
wait stable/wait <element>before reading the sheet rather than snapshotting immediately.test(test-app): add a sign-in sheet lab for the hosted web auth surfa…
thymikee commentedon Nov 23, 2026
Current state: body rewritten against origin/main 3c68c19 (2026-11-23 maintainer sweep, T105). The fixture half landed as #4708 (v0.21.40, native ASWebAuthenticationSession lab, loopback IdP, lane script); the issue now owns the driven half — submit is blocked by #4593 and no workflow runs the lane.
Previous body is preserved at the issue's edit history (the
Editedmarker in the header) and archived locally; no copy is republished here.apex-sentinel-staging commentedon Nov 23, 2026
Apex Sentinel · Issue review
Suggested label:
featureThe issue requests adding/ extending a Maestro test flow and wiring the existing test-app auth session lane into CI; it is an enhancement/internal test coverage task, with one part explicitly blocked by #4593 but the CI invocation still actionable.