Skip to content

test: wait for secure answer field keyboard focus - #455

Merged
BunsDev merged 1 commit into
mainfrom
iphone-secret-focus
Oct 30, 2026
Merged

BunsDev merged 1 commit into
mainfrom
iphone-secret-focus

Conversation

@BunsDev

@BunsDev BunsDev commented Oct 30, 2026

Copy link
Copy Markdown
Contributor

The paired iPhone test could try to type a secret after a tap failed to give its secure field keyboard focus. Waiting for any keyboard did not establish that field’s readiness; hosted #453 job 124022084672 failed at this boundary.

Extracts the existing bounded focus wait used by ordinary text entry and reuses it for secure-answer entry before sending keystrokes. Masked-character count, exact secret delivery and transcript no-leak assertions remain intact. Application behavior, test selection and timeout scale are unchanged.

Validation: pnpm build and pnpm test passed (2,268 passed, 26 skipped, zero failures); all 43 native UI tests and 60 native unit tests passed on a dedicated iPhone 17 / iOS 27 simulator. Independent read-only review found no actionable findings. The original hosted iOS 26.4.1 failure remains preserved, and local success does not establish hosted or physical-phone acceptance.

The native unit command initially stopped before tests because its generated Xcode project referenced the temporary pairing file removed by the completed E2E script. Regenerating the project corrected the setup, and the unchanged unit suite passed. Both outcomes are recorded in the review evidence. The existing any-keyboard compatibility fallback, used only when XCTest does not expose field-specific focus, remains an explicit validation limit.

@vercel

vercel Bot commented Oct 30, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
modex Ready Ready Preview Oct 30, 2026 11:44am UTC

Request Review

@github-code-quality

Copy link
Copy Markdown

Code coverage overview

Languages: TypeScript

TypeScript / code-coverage-agent

main ba8f289 iphone-secret-focus bd4a20c +/-
66% 66% 0%
View coverage of the 4 most impacted files.
File main ba8f289 iphone-secret-focus bd4a20c +/-
apps/desktop/sr...ngine/runner.ts 98% 98% 0%
apps/desktop/sr...provals/gate.ts 100% 100% 0%
apps/desktop/sr...task-context.ts 100% 100% 0%
apps/desktop/sr...ngine/titles.ts 96% 97% +1%

ℹ️ Calculations represent line coverage. Results may change as calculations are updated.

@BunsDev
BunsDev added this pull request to the merge queue Oct 30, 2026
Merged via the queue into main with commit 9f85d61 Oct 30, 2026
11 checks passed
@BunsDev
BunsDev deleted the iphone-secret-focus branch October 30, 2026 13:10

This branch was successfully deployed

1 active deployment
Preview — bd4a20c8 Deployed Oct 30, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant