diff options
| author | Adam Soltys <[email protected]> | 2026-08-17 07:03:28 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-08-17 07:03:28 -0700 |
| commit | 49ae68290099bc37bbbf6d7ad4dee9f906623a38 (patch) | |
| tree | 01a84328f75caeaa5cd1801e4f49bb7839d1d0f9 /tools/lock-wallet-test.js | |
| parent | ede4516e2255bb65d22dd1a74d0e8332b0417194 (diff) | |
| download | coinosv3-49ae68290099bc37bbbf6d7ad4dee9f906623a38.tar.gz coinosv3-49ae68290099bc37bbbf6d7ad4dee9f906623a38.zip | |
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
Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01JtaatFfAbx91Nh3xqKVqKz
Diffstat (limited to 'tools/lock-wallet-test.js')
| -rw-r--r-- | tools/lock-wallet-test.js | 13 |
1 files changed, 13 insertions, 0 deletions
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); |
