aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-07-04 08:02:14 -0700
committerAdam Soltys <[email protected]>2026-07-04 08:02:14 -0700
commitcbbf90ed86c29f2c7c61b216be5e51946adaef52 (patch)
tree6a6ea879f079ae0ec6eb770e3f839cc1d3cfc261 /tools
parent2da22a3dc82bc8c0beb456097c2749ebc02d8017 (diff)
downloadcoinosv3-cbbf90ed86c29f2c7c61b216be5e51946adaef52.tar.gz
coinosv3-cbbf90ed86c29f2c7c61b216be5e51946adaef52.zip
Gift claim: correct copy when claiming into an existing wallet
"Claim it into a brand-new wallet that only you control." only fits the new-wallet path; claiming into an existing wallet now says which wallet it lands in ("Claim it into your wallet "Wallet 1"."). 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/gift-shot.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/ark/gift-shot.js b/tools/ark/gift-shot.js
index 9874e8c..b4bf2d1 100644
--- a/tools/ark/gift-shot.js
+++ b/tools/ark/gift-shot.js
@@ -77,6 +77,12 @@ const shown = await waitText('Choose where', 15000);
console.log('chooser shown:', shown);
await sleep(400);
await page.screenshot({ path: '/tmp/gift-choose.png' });
+// pick the existing wallet and capture the claim screen copy
+await clickText('button', 'Wallet 1');
+await waitText('Claim it', 15000);
+await sleep(400);
+await page.screenshot({ path: '/tmp/gift-claim-existing.png' });
+console.log('claim copy:', await page.evaluate(() => [...document.querySelectorAll('p')].map((e) => e.textContent).find((x) => x.includes('Claim it'))));
console.log('done');
await browser.close();
dev.kill();