diff options
| author | Adam Soltys <[email protected]> | 2026-09-28 18:16:58 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-09-28 18:16:58 -0700 |
| commit | cfac411e3859f03af7c8c1fe4deab6ab6bae42d0 (patch) | |
| tree | 654027cd478a22c7d7a35df065525e68e9921d1a /tools/compose-preview-test.js | |
| parent | 3244074db89ad43ed909f83dc7ae2465f4cb109c (diff) | |
| download | coinosv3-cfac411e3859f03af7c8c1fe4deab6ab6bae42d0.tar.gz coinosv3-cfac411e3859f03af7c8c1fe4deab6ab6bae42d0.zip | |
The feed header keeps its room on a phone: a ⋯ menu for the feed itself, a pencil for a new post.
Save feed, Relays, Share and New post sat in the title row and wrapped on a
phone. Share, Relays and Save or Edit now live in the feed's ⋯ sheet, and
New post is a pencil; the title has the width.
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01VhUKyXKtsJ67QAFfb7QR9D
Diffstat (limited to 'tools/compose-preview-test.js')
| -rw-r--r-- | tools/compose-preview-test.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/compose-preview-test.js b/tools/compose-preview-test.js index d33dcdc..c2f35e6 100644 --- a/tools/compose-preview-test.js +++ b/tools/compose-preview-test.js @@ -65,7 +65,7 @@ try { await sleep(1000); await page.evaluate(() => { const e = [...document.querySelectorAll('.item')].find((n) => /feed/i.test(n.textContent)); if (e) e.click(); }); await sleep(2500); - const opened = await click('new post'); + const opened = await page.evaluate(() => { const b = [...document.querySelectorAll('button')].find((n) => (n.getAttribute('aria-label') || n.textContent).trim().toLowerCase() === 'new post'); if (b) { b.click(); return true; } return false; }); check('the composer opens', opened && !!(await page.$('textarea'))); await type('textarea', DRAFT); |
