From 49ae68290099bc37bbbf6d7ad4dee9f906623a38 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Mon, 17 Aug 2026 07:03:28 -0700 Subject: The profile grows a second, honest exit: Log out leaves the room, Log out & forget this device burns it down — behind the Delete-all warning, which now also sweeps the cached balances and history it always implied MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Fable 5 Claude-Session: https://claude.ai/code/session_01JtaatFfAbx91Nh3xqKVqKz --- tools/lock-wallet-test.js | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'tools') diff --git a/tools/lock-wallet-test.js b/tools/lock-wallet-test.js index 30f5982..a798d09 100644 --- a/tools/lock-wallet-test.js +++ b/tools/lock-wallet-test.js @@ -119,6 +119,19 @@ try { check('the password opens it', await waitText('receive')); await sleep(1000); + console.log('\n[log out & forget is the other exit]'); + await page.evaluate(() => document.querySelector('.header-avatar')?.click()); + await sleep(800); + txt = await body(); + check('the profile offers the drastic exit too', /forget this device/i.test(txt), txt.slice(0, 160).replace(/\n+/g, ' | ')); + await click('button', 'forget this device'); + await sleep(600); + txt = await body(); + check('it routes through the Delete-all warning', /delete all/i.test(txt) && /lost for good/i.test(txt), txt.slice(0, 160).replace(/\n+/g, ' | ')); + await click('button', 'Back'); + await sleep(600); + check('backing out deletes nothing', (await vaultSize()) > 0); + console.log('\n[delete all is the destructive one]'); await click('button', 'Wallets'); await sleep(800); -- cgit v1.2.3