Commit 66c65cc
authored
fix(maestro): correct give-button label and sheet dismissal (#1181)
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.1 parent 3d644ad commit 66c65cc
3 files changed
Lines changed: 39 additions & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
2 | 5 | | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
3 | 10 | | |
4 | | - | |
5 | | - | |
6 | | - | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
7 | 15 | | |
8 | 16 | | |
9 | | - | |
| 17 | + | |
10 | 18 | | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
11 | 22 | | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
5 | 7 | | |
6 | 8 | | |
7 | 9 | | |
| |||
0 commit comments