diff options
| author | Adam Soltys <[email protected]> | 2026-10-07 08:40:21 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-10-07 08:40:21 -0700 |
| commit | 3aff6e4cc9eb97fc0fa488f1f95001f69f24330a (patch) | |
| tree | 932ed498851f9e2167a1c1419c96d630be0d02e2 /tools/relays-settings-test.js | |
| parent | 6d288aeb194d2765282cf9fd72bd1f5fdd747a71 (diff) | |
| parent | 6c51dcf2542314d5fe883f756f0840ef51860d67 (diff) | |
| download | coinosv3-3aff6e4cc9eb97fc0fa488f1f95001f69f24330a.tar.gz coinosv3-3aff6e4cc9eb97fc0fa488f1f95001f69f24330a.zip | |
Merge branch 'worktree-agent-ad1d843e9e394974e'
Diffstat (limited to 'tools/relays-settings-test.js')
| -rw-r--r-- | tools/relays-settings-test.js | 4 |
1 files changed, 3 insertions, 1 deletions
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(() => { |
