Repository navigation
chore(qa): drive the development build with Maestro - #80
Merged
Merged
Conversation
Everything the native build could not be checked without a finger on the simulator now runs unattended. The gate that blocked this for three sessions — iOS asking «¿Abrir en "Black Dog"?» over the dev-client launcher — is system UI that `simctl` cannot dismiss, and Maestro can. Four flows: connect, the customer surface, the internal area, and a till sale charged end to end. The sale one WRITES, so it starts by reading the API base the app RESOLVED — from Profile → «Estado de integración» — and refuses to go on if it names the production host. It reads the app's own value rather than trusting an environment variable the runner could get wrong. THE SERVER IS ADDRESSED BY ITS URL. The launcher lists today's server and every one it remembers, all called «Black Dog Store», so tapping the name is a coin toss between the current address and a stale one from another network. The address is passed in. TWO SELECTOR LESSONS, both of which looked like app bugs first: A selector matches the WHOLE string. A product card exposes one accessibility label — «iPhone 15 Pro, S/ 5,599.00, Últimas unidades» — which is right for VoiceOver and means `"iPhone 15 Pro"` matches nothing. A field is tapped by its PLACEHOLDER, not its label. `Input` puts the label on the caption, on the field's own `accessibilityLabel` and on its wrapper; only the field takes focus. Tapping the label reported COMPLETED and typed into nothing, which surfaced as the server refusing the sale: «Indica el efectivo recibido.» The app was right at every step — the flow was wrong. No production code changed, and nothing here is bundled: the app does not import these files. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Everything the native build could not be checked without a finger on the simulator now runs unattended. The gate that blocked this for three sessions — iOS asking «¿Abrir en "Black Dog"?» over the dev-client launcher — is system UI that
simctlcannot dismiss, and Maestro can.Flows
00-connect-dev-client01-customer-surface02-internal-navigation03-pos-saleNV-…03writes (a real order, real stock), so it starts by reading the API base the app resolved — Profile → «Estado de integración» — and refuses to continue if it names production. It reads the app's own value rather than an env var the runner could get wrong.Two selector lessons, both of which looked like app bugs first
A selector matches the whole string. A product card exposes one accessibility label — «iPhone 15 Pro, S/ 5,599.00, Últimas unidades» — which is correct for VoiceOver and means
"iPhone 15 Pro"matches nothing. Pattern now allows for the price.A field is tapped by its placeholder, not its label.
Inputputs the label on the caption, on the field's ownaccessibilityLabeland on its wrapper; only the field takes focus. Tapping the label reportedCOMPLETEDand typed into nothing — which surfaced as the server refusing the sale with «Indica el efectivo recibido.» The app was right at every step; the flow was wrong.Also learned: the server is addressed by URL, never by name — the launcher lists today's server and every stale one, all called «Black Dog Store».
Scope
No production code changed. Nothing here is bundled: the app does not import these files. Maestro itself is developer tooling (
brew install mobile-dev-inc/tap/maestro, which pulls an openjdk).🤖 Generated with Claude Code