aboutsummaryrefslogtreecommitdiffstats
path: root/tools/avatar-profile-test.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-10-07 08:10:17 -0700
committerAdam Soltys <[email protected]>2026-10-07 08:10:17 -0700
commit9a49107afe8cf7104ea7da1638e680518fa55bb8 (patch)
tree06496c82058d751eedfaa2d3d182a1aa417dcd40 /tools/avatar-profile-test.js
parent78cf670939133fc4f656f0f42b21a59431a53842 (diff)
downloadcoinosv3-9a49107afe8cf7104ea7da1638e680518fa55bb8.tar.gz
coinosv3-9a49107afe8cf7104ea7da1638e680518fa55bb8.zip
Profile tests: reach the feed and chats through the bottom nav, start on Following, follow today's onboarding
- avatar-profile, profile-open: a new wallet opens the feed on Popular, so seed this wallet's last feed as Following; profile-open opens Feed from the nav - profile-feed: a mainnet import offers a username first (Not now), Messages is a bottom-nav button - profile-draft, profile-recovery: the import button reads 'Have an existing seed or entropy to import?'; profile batches stream through queryStreamOn, so the recovery test answers that too Co-Authored-By: Claude Opus 5.5 <[email protected]>
Diffstat (limited to 'tools/avatar-profile-test.js')
-rw-r--r--tools/avatar-profile-test.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/avatar-profile-test.js b/tools/avatar-profile-test.js
index 293d7c1..4ed1b25 100644
--- a/tools/avatar-profile-test.js
+++ b/tools/avatar-profile-test.js
@@ -39,6 +39,7 @@ try {
}));
localStorage.setItem(k + ':follows', JSON.stringify({ tags: [['p', a], ['p', b]], c: '', at: now }));
localStorage.setItem(k + ':feedNotes', JSON.stringify(ns));
+ localStorage.setItem('btc-wallet-feed:' + k, 'following'); // this wallet's last feed (new ones open on Popular)
localStorage.setItem(k + ':profiles', JSON.stringify({ [a]: { name: 'Alice Poster', t: Date.now() }, [b]: { name: 'Bob Poster', about: 'bob bio here', t: Date.now() } }));
}, [base, A, B]);
await page.reload({ waitUntil: 'domcontentloaded' });