From f21ebec84d3207ed7eab7d712315adc8ab706708 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Wed, 7 Oct 2026 13:39:15 -0700 Subject: Desktop: Send opens with the cursor in the recipient field (once per visit, never off another field, never on phones); the amount field still takes it once a recipient resolves Co-Authored-By: Claude Opus 5.5 --- tools/send-enter-keys-test.js | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tools') diff --git a/tools/send-enter-keys-test.js b/tools/send-enter-keys-test.js index 5022c39..67997c0 100644 --- a/tools/send-enter-keys-test.js +++ b/tools/send-enter-keys-test.js @@ -74,6 +74,9 @@ try { console.log('[recipient: Enter picks the top suggestion]'); await page.evaluate(() => [...document.querySelectorAll('button')].find((b) => b.textContent.trim() === 'Send')?.click()); await page.waitForSelector('textarea.send-dest', { timeout: 10000 }); + await sleep(300); + check('desktop: Send opens with the cursor in the recipient field', await page.evaluate(() => document.activeElement?.matches('textarea.send-dest')), + await page.evaluate(() => document.activeElement?.outerHTML.slice(0, 80))); await page.focus('textarea.send-dest'); await page.keyboard.type('adam', { delay: 80 }); let top = ''; -- cgit v1.2.3