Skip to content

Fix Maestro input, keyboard dismissal, and launch recovery - #788

Merged
markmur merged 4 commits into
mainfrom
fix/maestro-checkout-text-entry
Sep 18, 2026
Merged

markmur merged 4 commits into
mainfrom
fix/maestro-checkout-text-entry

Conversation

@markmur

@markmur markmur commented Sep 17, 2026

Copy link
Copy Markdown
Contributor

Checkout E2E tests can lose the first character of an address field, tap Pay now while the keyboard is still open, or fail after successfully dismissing it. Android runs can also stall behind a compatibility warning for BrowserStack's helper app.

Read back the focused address field and clear/re-enter it once if the value is incomplete. Detect the iOS keyboard using its delete-key label (Delete or delete): Toolbar remains exposed on iOS 27 after dismissal, which previously triggered an unnecessary second tap. Prefer Done, fall back to the checkmark, retry a missed dismissal once, and require the keyboard to close before submission. During Android launch recovery, dismiss only the warning matching both BrowserStack's helper name and the compatibility message.

Validation: Maestro 2.4.0 offline fixtures cover truncated input and replacement, a persistent toolbar after dismissal, missed-tap recovery, retry exhaustion, repeated dismissal, numeric/text keyboards, and Pay now/Review order submission. Android fixtures cover launch recovery with the known warning and preserve unrelated dialogs. Script checks pass: 321 tests, 858 assertions, one existing skip. Local devices run iOS 26.2 and Android 14 (API 34); BrowserStack iOS 27/Android 17 confirmation is pending.

@markmur
markmur requested a review from a team as a code owner September 17, 2026 12:01
@github-actions github-actions Bot added the #gsd:50662 Rebase Checkout Kit on UCP label Sep 17, 2026
@markmur markmur self-assigned this Sep 17, 2026
@bitrise

bitrise Bot commented Sep 17, 2026

Copy link
Copy Markdown

Install this build

Open Tophat, select your target device, then click Install. Links open on the Mac running Tophat.

SDK Install
React Native Install with Tophat
Swift Install with Tophat
Kotlin Install with Tophat

Checkout Kit E2E results

Status Tags Target Platform OS version tag Device
launch, checkout-presentation, checkout-completion, buyer-identity react-native ios latest iPhone 15
iOS 27 Beta
launch, checkout-presentation, checkout-completion, buyer-identity react-native android latest Google Pixel 9
Android 17.0
launch, checkout-presentation, checkout-completion, buyer-identity, preload kotlin android latest Google Pixel 9
Android 17.0
launch, checkout-presentation, checkout-completion, buyer-identity, preload swift ios latest iPhone 15
iOS 27 Beta

@markmur markmur changed the title Fix truncated checkout field entry in Maestro tests Fix checkout input and keyboard handling in Maestro tests Sep 17, 2026
@markmur
markmur force-pushed the fix/maestro-checkout-text-entry branch from 21e7f2f to 084c74f Compare September 18, 2026 08:24
@markmur markmur changed the title Fix checkout input and keyboard handling in Maestro tests Fix Maestro input, keyboard dismissal, and launch recovery Sep 18, 2026
@markmur
markmur merged commit ac4d751 into main Sep 18, 2026
27 checks passed
@markmur
markmur deleted the fix/maestro-checkout-text-entry branch September 18, 2026 10:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

#gsd:50662 Rebase Checkout Kit on UCP

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants