aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/ark/ui-test.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/ark/ui-test.js b/tools/ark/ui-test.js
index 81dc3ae..006c7eb 100644
--- a/tools/ark/ui-test.js
+++ b/tools/ark/ui-test.js
@@ -129,6 +129,13 @@ try {
check('sent view', await waitText('Sent!', 15000));
check('alice +7000', aliceBalance() === before + 7000, String(aliceBalance() - before));
+ // history shows both ark movements
+ await clickText('.tabs button', 'History');
+ await sleep(400);
+ const hist = await bodyText();
+ check('history shows ark receive', /received\s*\n?\s*ark/i.test(hist));
+ check('history shows ark send', /sent\s*\n?\s*ark/i.test(hist));
+
// --- board from settings ---
console.log('\n[4] board');
await clickText('.tabs button', 'Receive');