From 6c51dcf2542314d5fe883f756f0840ef51860d67 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Wed, 7 Oct 2026 08:39:07 -0700 Subject: Feed tests (port 5298 group): bottom-nav Feed, Following seeded, today's prepend and editor MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 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 --- tools/relays-settings-test.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tools/relays-settings-test.js') diff --git a/tools/relays-settings-test.js b/tools/relays-settings-test.js index 7045b21..df89388 100644 --- a/tools/relays-settings-test.js +++ b/tools/relays-settings-test.js @@ -94,7 +94,9 @@ try { check('...and the DM inbox list', JSON.stringify(await dms()) === JSON.stringify(['relay.coinos.io', 'inbox.example.com']), JSON.stringify(await dms())); console.log('\n[editing, then saving]'); - await click('save'); await sleep(400); + // (a new identity has already put out its DM inbox list at boot; the card's + // Save is .relays-save — the page has other Save buttons now) + await page.evaluate(() => { window.__published = []; document.querySelector('.relays-save').click(); }); await sleep(400); check('saving with nothing changed publishes nothing', !(await page.evaluate(() => window.__published)).some((e) => e.kind === 10002 || e.kind === 10050)); // nos.lol becomes read+write; relay.example.com goes; a bare host is added await page.evaluate(() => { -- cgit v1.2.3