Skip to content

test: add testIDs for send flow UI automation#6033

Open
j0ntz wants to merge 2 commits into
developfrom
jon/1208857053925054
Open

test: add testIDs for send flow UI automation#6033
j0ntz wants to merge 2 commits into
developfrom
jon/1208857053925054

Conversation

@j0ntz

@j0ntz j0ntz commented Jun 15, 2026

Copy link
Copy Markdown
Contributor

CHANGELOG

Does this branch warrant an entry to the CHANGELOG?

  • Yes
  • No

Dependencies

none

Requirements

If you have made any visual changes to the GUI. Make sure you have:

  • Tested on iOS device
  • Tested on Android device
  • Tested on small-screen device (iPod Touch)
  • Tested on large-screen device (tablet)

Description

Test-infrastructure only. No behavior or visual changes.

Adds stable testID props so UI automation can drive the send flow by selector instead of brittle text or coordinate matching:

  • AddressTile2: sendAddressEnter, sendAddressMyself, sendAddressScan, sendAddressPaste.
  • SafeSlider: confirmSliderThumb on the draggable thumb (the id the shared maestro confirm-slider flow already expects).

These were added while verifying the TON duplicate-transaction fix (edge-currency-accountbased#1059); the send flow had no stable selectors. Snapshot files updated to reflect the new props. Related to Asana task.


Note

Low Risk
Test-only accessibility identifiers with no logic, styling, or runtime behavior changes.

Overview
Adds stable testID props across key wallet and send UI so Maestro/automation can target controls without text or coordinates. No user-visible or behavioral changes—snapshots and CHANGELOG only reflect the new identifiers.

Send flow: AddressTile2 buttons (sendAddressEnter, sendAddressMyself, sendAddressScan, sendAddressPaste). SafeSlider thumb gets confirmSliderThumb for the shared confirm-slider automation pattern.

Wallet / create flows: WalletListCurrencyRow uses walletRow.{walletId}[.{tokenId}]; create-wallet search and rows use createWalletSearch and createRow.{key}; wallet list search footer uses walletListSearch via an optional testID on SearchFooter (and CreateWalletSelectCryptoRow).

SearchFooter is removed from an ESLint allowlist entry (file no longer needs that exemption).

Reviewed by Cursor Bugbot for commit 305c4ff. Bugbot is set up for automated code reviews on this repo. Configure here.

Add testIDs to the send address tile buttons (enter, myself, scan, paste)
and the SafeSlider confirm thumb so UI tests can drive the send flow by
stable selectors instead of brittle text or coordinate matching.
@j0ntz j0ntz force-pushed the jon/1208857053925054 branch from 4207c64 to 59d23d0 Compare June 21, 2026 08:33

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 2 potential issues.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 188bd0d. Configure here.

Comment thread src/components/scenes/CreateWalletSelectCryptoScene.tsx Outdated
Comment thread src/components/themed/WalletListCurrencyRow.tsx Outdated
@j0ntz

j0ntz commented Jun 26, 2026

Copy link
Copy Markdown
Contributor Author

📸 Test evidence: TON send flow driven via these testIDs — A(old) to B(new), then B to A (deploy), all explorer links resolve, no duplicates

agent proof 1208857053925054 01 ton send A to newB success

agent proof 1208857053925054 01 ton send A to newB success

agent proof 1208857053925054 02 txdetail txid resolves

agent proof 1208857053925054 02 txdetail txid resolves

agent proof 1208857053925054 03 newB deploy send success

agent proof 1208857053925054 03 newB deploy send success

Captured by the agent's in-app test run (build-and-test).

@j0ntz j0ntz force-pushed the jon/1208857053925054 branch from 188bd0d to 305c4ff Compare June 26, 2026 23:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant