aboutsummaryrefslogtreecommitdiffstats
path: root/tools/markdown-note-test.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-10-07 08:39:07 -0700
committerAdam Soltys <[email protected]>2026-10-07 08:39:07 -0700
commit6c51dcf2542314d5fe883f756f0840ef51860d67 (patch)
tree88f66bae1e8015219c4d31614ba09454af30cc1e /tools/markdown-note-test.js
parent8dfc629d129c6c1a8a3ed38a935e659eee9f67c7 (diff)
downloadcoinosv3-6c51dcf2542314d5fe883f756f0840ef51860d67.tar.gz
coinosv3-6c51dcf2542314d5fe883f756f0840ef51860d67.zip
Feed tests (port 5298 group): bottom-nav Feed, Following seeded, today's prepend and editor
- feed-list, markdown-note: open the Feed tab, on Following; feed-list opens the editor from the feed's ⋯ menu - feed-stability: the warm-up query asks kinds 1+1068 (polls); a live post with the header on screen goes in above the first post, held still (it no longer waits); the per-frame drift check uses a second post once the header is away - relays-settings: a new identity puts out its DM inbox list at boot, and the page has other Save buttons; the no-change save clears the log and clicks the card's own Save Co-Authored-By: Claude Opus 5.5 <[email protected]>
Diffstat (limited to 'tools/markdown-note-test.js')
-rw-r--r--tools/markdown-note-test.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/markdown-note-test.js b/tools/markdown-note-test.js
index e27336f..8e7cca1 100644
--- a/tools/markdown-note-test.js
+++ b/tools/markdown-note-test.js
@@ -69,12 +69,12 @@ try {
localStorage.setItem(k + ':follows', JSON.stringify({ tags: [['p', pk]], c: '', at: Math.floor(Date.now() / 1000) }));
localStorage.setItem(k + ':feedNotes', JSON.stringify(ns));
localStorage.setItem(k + ':profiles', JSON.stringify({ [pk]: { name: 'Markdown Poster', t: Date.now() } }));
+ localStorage.setItem('btc-wallet-feed:' + k, 'following'); // a wallet with no feed remembered opens on Popular
}, [cacheKeyFor(mn + '\n'), AUTHOR, notes]);
await page.reload({ waitUntil: 'domcontentloaded' });
await waitText('receive', 20000);
- await page.evaluate(() => { const b = [...document.querySelectorAll('button')].find((e) => /message/i.test(e.getAttribute('aria-label') || '')); if (b) b.click(); });
- await sleep(1000);
- await page.evaluate(() => { const e = [...document.querySelectorAll('.item')].find((n) => /feed/i.test(n.textContent)); if (e) e.click(); });
+ // the Feed is a tab in the bottom nav (it was a row on the chat home)
+ await page.evaluate(() => [...document.querySelectorAll('.app-nav-button')].find((b) => b.getAttribute('aria-label') === 'Feed')?.click());
// rows are admitted once their pictures have been tried (a dead host takes the deadline)
for (let i = 0; i < 60; i++) { if ((await page.evaluate(() => document.querySelectorAll('.notes-feed > .row').length)) >= 6) break; await sleep(250); }
await sleep(500);