aboutsummaryrefslogtreecommitdiffstats
path: root/tools/markdown-note-test.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-10-07 08:40:21 -0700
committerAdam Soltys <[email protected]>2026-10-07 08:40:21 -0700
commit3aff6e4cc9eb97fc0fa488f1f95001f69f24330a (patch)
tree932ed498851f9e2167a1c1419c96d630be0d02e2 /tools/markdown-note-test.js
parent6d288aeb194d2765282cf9fd72bd1f5fdd747a71 (diff)
parent6c51dcf2542314d5fe883f756f0840ef51860d67 (diff)
downloadcoinosv3-3aff6e4cc9eb97fc0fa488f1f95001f69f24330a.tar.gz
coinosv3-3aff6e4cc9eb97fc0fa488f1f95001f69f24330a.zip
Merge branch 'worktree-agent-ad1d843e9e394974e'
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);