Skip to content

test(maestro): fix stale smoke flows after the Chats landing and tile changes - #1848

Merged
bmc08gt merged 5 commits into
code/cashfrom
test/maestro-smoke-fixes
Oct 24, 2026
Merged

bmc08gt merged 5 commits into
code/cashfrom
test/maestro-smoke-fixes

Conversation

@bmc08gt

@bmc08gt bmc08gt commented Oct 24, 2026

Copy link
Copy Markdown
Collaborator

The nightly Maestro smoke suite passes 9 of 13 flows on this branch (run 40126946160), up from 1 of 13 after #1824 and #1829. The four chat flows still fail because the MAESTRO_CONTACT_NAME and MAESTRO_CONTACT_PHONE secrets are not set on the repo.

These commits were pushed to ci/maestro-emulator-boot after #1824 merged, so they never reached code/cash. Fixes, one per cause:

  • Login lands on Chats, not Wallet. Since feat(nav): open on the Chats tab on cold launch #1529 the app opens on the Chats tab on cold launch. login_with_deeplink.yaml and login_usdf_only.yaml now wait for chats_screen. create_account.yaml still waits for wallet_screen, since new-account onboarding does land there.
  • 3-button nav on the emulator. The CI emulator now enables the gestural nav overlay after boot.
  • The card deck swallows Wallet scrolls. New helpers/scroll_wallet_to_tile.yaml swipes from the left gutter until the tile label is visible, then swipes to the end of the list. It replaces scrollUntilVisible in six flows.
  • Get tile no longer exists. feat(tokens): replace Get with Buy In, swap Withdraw for Buy More #1341 replaced it with "Buy In" (unheld token) and "Buy More" (held token). try_get_from_leaderboard.yaml matches ^Buy (In|More)$.
  • Empty contact name. An unset secret arrives as "", and the empty regex matched the status bar. open_tip_chat.yaml now asserts the name is non-empty before tapping. Maestro reports this failure as false is true; the step label names the missing secrets.

The bottom row of Wallet tiles still sits partly under the floating nav pill at the end of the list. Deposit passes because "Add Dollars" stays in the tree after scrolling to the end, but the layout itself looks wrong. WalletScreenContent.kt is untouched here.

coinbase_onramp.yaml and usdf_only_gate.yaml use the new scroll helper but are not in the smoke tag, so no run covered them.

…via Buy In/More

Add Dollars sits under the floating nav pill at the end of the Wallet list and drops out of the accessibility tree, so the helper now scrolls to the end and a new tap helper falls back to the tile's visible top band. The Get flow looked for a Get tile that #1341 replaced with Buy In (Buy More on a held currency). open_tip_chat now fails with a clear message when CONTACT_NAME is empty.
The fallback ran after the label tap had already opened the Add Dollars With sheet, since the label was gone by then, and its tap at 25%, 86% landed on Other Wallet. Scrolling to the end of the list keeps the label in the tree, so the fallback is not needed.
@bmc08gt bmc08gt self-assigned this Oct 24, 2026
@github-actions github-actions Bot added the type: test Test additions or improvements label Oct 24, 2026
@bmc08gt
bmc08gt marked this pull request as ready for review October 24, 2026 22:44
@bmc08gt
bmc08gt requested a review from jeffyanta as a code owner October 24, 2026 22:44
@bmc08gt
bmc08gt merged commit a186ac9 into code/cash Oct 24, 2026
6 of 7 checks passed
@bmc08gt
bmc08gt deleted the test/maestro-smoke-fixes branch October 24, 2026 22:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: test Test additions or improvements

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant