diff options
| author | Adam Soltys <[email protected]> | 2026-11-06 23:13:26 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-11-06 23:13:26 -0700 |
| commit | 2dc574fceac569dea95e57be4134ed4ecd757d40 (patch) | |
| tree | 53baf962e819d9c19d37ab17e451272693e28f76 /tools/account-access-test.js | |
| parent | f698dd9b1c638092c5c313889c1ac94feb91245f (diff) | |
| download | coinosv3-2dc574fceac569dea95e57be4134ed4ecd757d40.tar.gz coinosv3-2dc574fceac569dea95e57be4134ed4ecd757d40.zip | |
The front door is two choices: "Create a new wallet" or "Sign in to an existing account". "Login page is getting busy" (Adam, 2026-11-06): it had grown a door per method — Google, passkey, Nostr, twelve words, coinos.io — under the way in, and a footer of credits, pickers and the build stamp under that. Now the welcome step holds the two choices and nothing else (no footer on the front-door steps; the language follows the browser's), and the second opens a sign-in step with the ways in: "Sign in with seed phrase" first (was "Restore from twelve words"), then the feature's doors (Google, passkey, Nostr), then "Migrate a coinos account". Back from the seed-phrase import, the Nostr card and the coinos.io move returns to the sign-in step. Tests follow the extra step: onboard-backup (two choices, no footer; the seed phrase first among the ways in), onboard-migrate-door (Back to the sign-in choices), amber-login, account-access (logout lands on the two choices)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01VMan6Ts5Tktega8VbLg31q
Diffstat (limited to 'tools/account-access-test.js')
| -rw-r--r-- | tools/account-access-test.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/account-access-test.js b/tools/account-access-test.js index c9af32e..3e481cc 100644 --- a/tools/account-access-test.js +++ b/tools/account-access-test.js @@ -48,7 +48,7 @@ try { await click('Log out'); check('logout asks before ending the session', await page.evaluate(() => document.body.innerText.includes('Your accounts stay saved on this device.'))); await click('Log out'); - check('logout reaches the sign-in screen and retains the saved wallet', await page.evaluate((saved) => !document.querySelector('.header-avatar') && document.body.innerText.includes('Sign in with Nostr') && localStorage.getItem('btc-wallet-watch') === saved, saved)); + check('logout reaches the sign-in screen and retains the saved wallet', await page.evaluate((saved) => !document.querySelector('.header-avatar') && document.body.innerText.includes('Sign in to an existing account') && localStorage.getItem('btc-wallet-watch') === saved, saved)); // Remember a public login identity on the watch-only account so every // header destination is available, without supplying a private key. await page.evaluate(({ key }) => { |
