From ea2c4683e71da6c050430fd0ea122821902282e0 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Fri, 3 Jul 2026 17:55:46 -0700 Subject: Ark: 'Payment received!' celebration for Ark receives Same card and tap-to-acknowledge flow as on-chain receives; the ack persists in the ark state (shows exactly once) and a 2h recency guard keeps old payments from celebrating when a wallet is opened later. Co-Authored-By: Claude Fable 5 Claude-Session: https://claude.ai/code/session_01QFAcD4V284DvYZZHP7Rxxy --- tools/ark/ui-test.js | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tools') diff --git a/tools/ark/ui-test.js b/tools/ark/ui-test.js index f8288e2..81dc3ae 100644 --- a/tools/ark/ui-test.js +++ b/tools/ark/ui-test.js @@ -109,6 +109,10 @@ try { check('ark address shown', /^tark1[a-z0-9]+$/.test(arkAddr), arkAddr.slice(0, 24) + '…'); sh(`${ALICE} -q send ${arkAddr} "25000 sat"`); check('ark balance shows 25,000', await waitLabeledNumber('ark balance', 25000, 30000), String(await labeledNumber('ark balance'))); + check('payment celebration shown', await waitText('Payment received', 10000)); + await clickText('.card', 'Payment received'); // tap to acknowledge + await sleep(400); + check('back to receive card after tap', await waitText('tark1', 5000)); // --- send over ark --- console.log('\n[3] send over Ark'); -- cgit v1.2.3