aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-09-28 09:41:03 -0700
committerAdam Soltys <[email protected]>2026-09-28 09:41:03 -0700
commitc10998ccf2976ee72b408ee8d8843420222ea100 (patch)
tree6e92d8ceec437eb6a2d4aaebf4d0b5e2d1099861 /tools
parent318fef4880373fe5c12c366cd8b1c322771714e6 (diff)
downloadcoinosv3-c10998ccf2976ee72b408ee8d8843420222ea100.tar.gz
coinosv3-c10998ccf2976ee72b408ee8d8843420222ea100.zip
The new-posts pill sits at the bottom; the sound button leaves once the sound is on; the list action moves under the profile row.
The pill was at the top of the window, a stretch for a thumb. An unmuted video kept a Mute button the player's own controls already provide, and in a quoted note the box could be rebuilt muted; unmuting now pins the box and removes the button. The ☰ on the profile's action row wrapped onto a line of its own; it is now "Add to a list" beside "Their timeline". Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01VhUKyXKtsJ67QAFfb7QR9D
Diffstat (limited to 'tools')
-rw-r--r--tools/video-autoplay-test.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/video-autoplay-test.js b/tools/video-autoplay-test.js
index 2665ac5..29a1437 100644
--- a/tools/video-autoplay-test.js
+++ b/tools/video-autoplay-test.js
@@ -75,8 +75,8 @@ try {
check('it is muted, and the button offers Unmute', await page.evaluate(() => { const v = document.querySelector('.note-video-box video'); const b = document.querySelector('.note-video-box .vid-sound'); return v.muted && /unmute/i.test(b.textContent); }));
check('on screen, it plays by itself', await waitFor(() => { const v = document.querySelector('.note-video-box video'); return v && !v.paused && v.currentTime > 0; }, 8000),
JSON.stringify(await page.evaluate(() => { const v = document.querySelector('.note-video-box video'); return v && { paused: v.paused, t: v.currentTime, err: v.error && v.error.code, ready: v.readyState }; })));
- await page.evaluate(() => document.querySelector('.note-video-box .vid-sound').click()); await sleep(200);
- check('Unmute turns the sound on and offers Mute', await page.evaluate(() => { const v = document.querySelector('.note-video-box video'); const b = document.querySelector('.note-video-box .vid-sound'); return !v.muted && /^\S+ mute$/i.test(b.textContent.trim()); }));
+ await page.evaluate(() => document.querySelector('.note-video-box .vid-sound').click()); await sleep(500);
+ check('Unmute turns the sound on, and the button leaves (the player\'s own controls carry mute)', await page.evaluate(() => { const v = document.querySelector('.note-video-box video'); const b = document.querySelector('.note-video-box .vid-sound'); return !v.muted && !b; }));
await page.evaluate(() => window.scrollTo(0, 1000)); await sleep(700);
check('scrolled away, it pauses', await waitFor(() => { const v = document.querySelector('.note-video-box video'); return v && v.paused; }, 4000));