Skip to content

fix(maestro): correct give-button label and sheet dismissal - #1181

Merged
bmc08gt merged 1 commit into
code/cashfrom
fix/maestro-give-label-and-sheet-dismiss
Aug 5, 2026
Merged

fix(maestro): correct give-button label and sheet dismissal#1181
bmc08gt merged 1 commit into
code/cashfrom
fix/maestro-give-label-and-sheet-dismiss

Conversation

@bmc08gt

@bmc08gt bmc08gt commented Aug 5, 2026

Copy link
Copy Markdown
Collaborator

Fixes two pre-existing Maestro flow failures on code/cash (surfaced while running the full journey suite as a regression check; unrelated to the beta-flag removal).

Give button label

The give nav button renders "Cash" (GiveButtonLabel.Cashaction_cash), not "Give", so pull_out_bill.yaml's tapOn: Give never matched. Now taps "Cash".

Sheet dismissal

close_open_sheet.yaml swiped down once and asserted the scanner. But a destination opened inside a sheet (e.g. wallet → token info) is pushed onto that sheet's own nav stack, so one dismiss only pops a layer — leaving the wallet, not the scanner. It now presses Back until the scanner (the root behind the single open sheet) is revealed:

  • Bounded (repeat times: 5) so a stuck sheet can't hang CI.
  • Guarded (each Back only fires when the scanner isn't already visible) so it's a safe no-op on a clean home screen and never backs out of the app.

This fixes open_token_info_deeplink.yaml, which also drops its final unasserted deeplink "reopen" — re-firing the same token deeplink is a no-op (the app dedupes it), so the step silently did nothing.

Verified

  • open_token_info_deeplinkpasses (opens token info via deeplink, dismisses cleanly to the scanner).
  • claim_cashlink / show_bill_and_put_back_in_wallet → now tap Cash correctly, but still require an account with a giveable balance (the give flow otherwise shows a deposit/discover prompt instead of the amount keypad). That's a provisioning dependency like send_to_contact — tracked separately, not a selector/flow bug.

Two pre-existing flow failures on code/cash, unrelated to the beta-flag work:

- The give nav button renders "Cash" (GiveButtonLabel.Cash / action_cash), not "Give",
  so pull_out_bill's `tapOn: Give` never matched. Tap "Cash".
- close_open_sheet swiped down once and asserted the scanner, but a destination opened
  inside a sheet (wallet -> token info) is pushed onto that sheet's own nav stack, so one
  dismiss only pops a layer. Press Back until the scanner (the root behind the single sheet)
  is revealed — bounded and guarded so it can't hang CI or back out of the app. This fixes
  open_token_info_deeplink, which also drops its unasserted (silently no-op) deeplink reopen.

Note: claim_cashlink and show_bill_and_put_back_in_wallet now tap Cash correctly but still
require an account with a giveable balance (the give flow otherwise shows a deposit/discover
prompt instead of the amount keypad) — a provisioning dependency like send_to_contact.
@github-actions github-actions Bot added the type: fix Bug fix label Aug 5, 2026
@bmc08gt
bmc08gt merged commit 66c65cc into code/cash Aug 5, 2026
3 checks passed
@bmc08gt
bmc08gt deleted the fix/maestro-give-label-and-sheet-dismiss branch August 5, 2026 15:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: fix Bug fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant