aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-07-03 21:11:30 -0700
committerAdam Soltys <[email protected]>2026-07-03 21:11:30 -0700
commit97ccbbca7a2e914e69e163ca05d1d0427d31596a (patch)
tree598171a5ad7fc3aa90820fd04965058a76f2f4a9 /tools
parentc8d384ebfe760682fe9ba3bcdcc31276df352929 (diff)
downloadcoinosv3-97ccbbca7a2e914e69e163ca05d1d0427d31596a.tar.gz
coinosv3-97ccbbca7a2e914e69e163ca05d1d0427d31596a.zip
Ark: boarding lives on the Receive tab's Ark view
Selecting Ark on Receive now shows the address plus an inline "move on-chain funds into Ark" form (with available balance / minimum hints). The Settings card slims down to server choice, coin count, in-progress operations, and refresh/consolidate; the balance already shows on the balance card. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01QFAcD4V284DvYZZHP7Rxxy
Diffstat (limited to 'tools')
-rw-r--r--tools/ark/ui-test.js13
1 files changed, 10 insertions, 3 deletions
diff --git a/tools/ark/ui-test.js b/tools/ark/ui-test.js
index 1d36b06..48f2f83 100644
--- a/tools/ark/ui-test.js
+++ b/tools/ark/ui-test.js
@@ -146,12 +146,17 @@ try {
sh(`${BCLI} sendtoaddress ${onchainAddr} 0.001`);
mine(1);
check('onchain funds arrive', await waitText('100,000', 30000));
-
- await clickText('.tabs button', 'Settings');
- await sleep(300);
+ // the on-chain receive celebration takes over the tab — tap through it
+ if ((await bodyText()).toLowerCase().includes('payment received')) {
+ await clickText('.card', 'Payment received');
+ await sleep(400);
+ }
+ await page.select('select', 'ark');
+ await sleep(400);
const preBoard = await labeledNumber('ark balance');
const boardInput = await page.evaluateHandle(() =>
[...document.querySelectorAll('input')].find((i) => (i.placeholder || '').toLowerCase().startsWith('board amount')));
+ check('board form on receive/ark', !!(await boardInput.asElement()));
await boardInput.asElement().type('30000');
await clickText('button', 'Board');
check('board started', await waitText('Boarding', 20000));
@@ -161,6 +166,8 @@ try {
// --- refresh / consolidate ---
console.log('\n[5] refresh');
+ await clickText('.tabs button', 'Settings');
+ await sleep(300);
await clickText('button', 'Refresh / consolidate');
check('refresh submitted', await waitText('Refresh submitted', 10000));
const done = await (async () => {