Skip to content

Commit 52ee29b

Browse files
committed
Add Stealth Send and Stealth Swap maestro walks
UI walks for the new send-to-address swap surfaces: the recipient-asset selector and toggle card on the send scene (including the destination tag row on an XRP destination) and the Stealth Swap toggle on the swap amount-entry scene. Neither flow requests a live quote.
1 parent 107a914 commit 52ee29b

3 files changed

Lines changed: 123 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
## Unreleased (develop)
44

5+
- added: Stealth Send: the send scene offers a "Recipient receives" asset selector and a Stealth Send toggle, turning the send into a live swap-to-address quote (Houdini privacy routing when stealth is on, all providers for a plain cross-asset send), with linked You send/Recipient gets amounts, quote expiry countdown, and a destination tag row on memo-required chains.
6+
- added: Stealth Swap: a toggle on the swap amount-entry scene routes the swap through the Houdini privacy provider as a fixed, non-tappable provider.
57
- added: Remote enable/disable of gift card providers via the info server's giftCardInfo config, supporting whole-provider disabling for Phaze and Bitrefill and per-brand disabling for Phaze.
68
- changed: Reorganize the wallet list menu so Asset Settings is reached through Wallet Settings, and rename the Monero "Backend" card to "Server Settings".
79
- fixed: Prevent imported Monero wallets from using the Edge LWS backend. Choosing to import now prompts the user to continue with a full node or configure a custom LWS server, matching the wallet settings rule.
Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
# Stealth Send UI walk.
2+
#
3+
# Opens the Bitcoin wallet's Send scene and walks the send-to-address swap UI
4+
# without entering an address, so no live quote is requested: the "Recipient
5+
# receives" selector (visible before address entry), the Stealth Send toggle
6+
# card with its explainer copy and inline "Learn more" link, and the
7+
# Destination Tag row on a memo-required destination chain (XRP).
8+
#
9+
# Screenshots captured (under ~/.maestro/tests/<run>/ ):
10+
# stealth-send-01-initial plain same-asset start: add-recipient
11+
# affordance, "Recipient receives" visible
12+
# stealth-send-02-stealth-on toggle expanded with the explainer copy
13+
# stealth-send-03-xrp-tag XRP destination: Destination Tag row
14+
appId: ${APP_ID}
15+
env:
16+
APP_ID: co.edgesecure.app
17+
PIN_DIGIT: '0'
18+
tags:
19+
- stealth
20+
---
21+
- launchApp
22+
- runFlow:
23+
when:
24+
visible: 'Exit PIN'
25+
commands:
26+
- tapOn: { text: '${PIN_DIGIT}', waitToSettleTimeoutMs: 900 }
27+
- tapOn: { text: '${PIN_DIGIT}', waitToSettleTimeoutMs: 900 }
28+
- tapOn: { text: '${PIN_DIGIT}', waitToSettleTimeoutMs: 900 }
29+
- tapOn: { text: '${PIN_DIGIT}', waitToSettleTimeoutMs: 1500 }
30+
- runFlow:
31+
when:
32+
visible: 'Security is Our Priority'
33+
commands:
34+
- tapOn: 'Cancel'
35+
# Dismiss the unrelated Stellar/Horizon plugin error toast if present.
36+
- tapOn:
37+
text: '.*Horizon.*'
38+
optional: true
39+
40+
# Open the Bitcoin wallet, then Send. Gate on the wallet tx-list "Receive"
41+
# button so Send cannot misfire on the home Send.
42+
- tapOn: 'Assets'
43+
- waitForAnimationToEnd:
44+
timeout: 2000
45+
- tapOn: 'My Bitcoin'
46+
- assertVisible: 'Receive'
47+
- tapOn: 'Send'
48+
- waitForAnimationToEnd:
49+
timeout: 3000
50+
51+
# Plain same-asset start: add-recipient affordance, no amount/fee rows yet,
52+
# "Recipient receives" visible before address entry.
53+
- assertVisible: 'Stealth Send'
54+
- assertVisible: 'Send to Address'
55+
- assertVisible: 'Recipient receives'
56+
- takeScreenshot: stealth-send-01-initial
57+
58+
# Stealth on: the toggle card expands with the explainer + Learn more link.
59+
- tapOn: 'Stealth Send'
60+
- assertVisible: 'Uses a route that helps obfuscate.*Learn more.*'
61+
- takeScreenshot: stealth-send-02-stealth-on
62+
- tapOn: 'Stealth Send'
63+
64+
# Cross-asset memo chain: an XRP destination shows the Destination Tag row.
65+
- tapOn: 'Recipient receives'
66+
- tapOn:
67+
text: 'XRP.*'
68+
- assertVisible: 'Destination Tag'
69+
- takeScreenshot: stealth-send-03-xrp-tag
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
# Stealth Swap UI walk.
2+
#
3+
# Opens the swap flow from the Bitcoin wallet and checks the Stealth Swap
4+
# toggle card during amount entry: the toggle, the explainer copy, and the
5+
# inline "Learn more" link. No quote is requested.
6+
#
7+
# Screenshots captured (under ~/.maestro/tests/<run>/ ):
8+
# stealth-swap-01-start amount entry with the Stealth Swap card
9+
# stealth-swap-02-stealth-on toggle expanded with the explainer copy
10+
appId: ${APP_ID}
11+
env:
12+
APP_ID: co.edgesecure.app
13+
PIN_DIGIT: '0'
14+
tags:
15+
- stealth
16+
---
17+
- launchApp
18+
- runFlow:
19+
when:
20+
visible: 'Exit PIN'
21+
commands:
22+
- tapOn: { text: '${PIN_DIGIT}', waitToSettleTimeoutMs: 900 }
23+
- tapOn: { text: '${PIN_DIGIT}', waitToSettleTimeoutMs: 900 }
24+
- tapOn: { text: '${PIN_DIGIT}', waitToSettleTimeoutMs: 900 }
25+
- tapOn: { text: '${PIN_DIGIT}', waitToSettleTimeoutMs: 1500 }
26+
- runFlow:
27+
when:
28+
visible: 'Security is Our Priority'
29+
commands:
30+
- tapOn: 'Cancel'
31+
- tapOn:
32+
text: '.*Horizon.*'
33+
optional: true
34+
35+
# Open the swap flow with a from + to pair so the toggle card renders.
36+
- tapOn: 'Assets'
37+
- waitForAnimationToEnd:
38+
timeout: 2000
39+
- tapOn: 'My Bitcoin'
40+
- assertVisible: 'Receive'
41+
- tapOn: 'Trade'
42+
- tapOn:
43+
text: 'Swap BTC to/from another crypto'
44+
- waitForAnimationToEnd:
45+
timeout: 3000
46+
- assertVisible: 'Stealth Swap'
47+
- takeScreenshot: stealth-swap-01-start
48+
49+
# Stealth on: the toggle card expands with the explainer + Learn more link.
50+
- tapOn: 'Stealth Swap'
51+
- assertVisible: 'Routes your swap through multiple.*Learn more.*'
52+
- takeScreenshot: stealth-swap-02-stealth-on

0 commit comments

Comments
 (0)