diff options
| author | Adam Soltys <[email protected]> | 2026-09-13 09:48:54 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-09-13 09:48:54 -0700 |
| commit | 38b3d091e8e1bece958c0d7e80a5ee78434de933 (patch) | |
| tree | a6ef243527c8f8c9499d90ffb9e2c43d9d03a8b2 /tools/ui-morph-test.js | |
| parent | 810d3d8bfd523a8a2a4a51cd2e426d72af049d13 (diff) | |
| download | coinosv3-38b3d091e8e1bece958c0d7e80a5ee78434de933.tar.gz coinosv3-38b3d091e8e1bece958c0d7e80a5ee78434de933.zip | |
The front door points at your own keys.
Four buttons of equal weight, and only the sign-in ones said what they
did. "Get started" said nothing, so the concrete offer on that screen was
Google — which is a convenience wrapped around a seed phrase, not an
alternative to one.
Now the page says what the wallet is before it offers a button, the way
in reads "Create a new wallet" with the cost under it (a minute, twelve
words), and the three sign-ins sit below a line labelled "or, if you
already have an account".
And the second half of the same problem: a wallet that arrives by sign-in
has a recovery phrase its owner has never seen and nobody can reissue.
So the wizard shows it once, right after the first login, while it still
reads as setting up rather than as a warning out of nowhere. "I've
written it down" is the way on; "Later" is a real answer, and the wallet
then keeps one quiet line — not a modal, not dismissible, gone the moment
the phrase is actually seen, here or in settings.
seedSeen records that per account: creating shows the words, importing
means they typed them, revealing in settings counts. Only a derived seed
starts false, which is exactly the case worth asking about.
tools/onboard-backup-test.js covers both halves, including that "Later"
leaves a reminder that survives a reload and leads somewhere.
The sixteen tests that clicked the old button by its text are updated,
and it has an id now so its copy can change without breaking them again.
Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_019mrt228Upn9nNCwGixzSLx
Diffstat (limited to 'tools/ui-morph-test.js')
| -rw-r--r-- | tools/ui-morph-test.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/ui-morph-test.js b/tools/ui-morph-test.js index 858a5a7..343ccd2 100644 --- a/tools/ui-morph-test.js +++ b/tools/ui-morph-test.js @@ -29,12 +29,12 @@ check('app booted to a screen with buttons', hasButton); // walk into a wallet if the entry button exists const clicked = await page.evaluate(() => { - const btn = [...document.querySelectorAll('button')].find((b) => /get started/i.test(b.textContent)); + const btn = [...document.querySelectorAll('button')].find((b) => /create a new wallet/i.test(b.textContent)); if (btn) { btn.click(); return true; } return false; }); await sleep(4000); -check('entered next screen', await page.evaluate(() => document.body.textContent.length > 100), clicked ? '' : '(no Get started button — already in wallet)'); +check('entered next screen', await page.evaluate(() => document.body.textContent.length > 100), clicked ? '' : '(no start button — already in wallet)'); // node identity across background renders: tag a button, force renders, compare const identity = await page.evaluate(async () => { |
