diff options
| author | Adam Soltys <[email protected]> | 2026-10-14 23:38:07 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-10-14 23:38:07 -0700 |
| commit | c0f1f1de0c7dca3d35cc19bb3e18487666c3ba5c (patch) | |
| tree | 64996bfca176d9b6112235de94d7d70cae6a1202 /tools/pager-wheel-test.js | |
| parent | 14de2121fa1c806048689010cf85d4f65b6e28c1 (diff) | |
| download | coinosv3-c0f1f1de0c7dca3d35cc19bb3e18487666c3ba5c.tar.gz coinosv3-c0f1f1de0c7dca3d35cc19bb3e18487666c3ba5c.zip | |
Share eager media pager loading across feed, profile, and grid
Diffstat (limited to 'tools/pager-wheel-test.js')
| -rw-r--r-- | tools/pager-wheel-test.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/pager-wheel-test.js b/tools/pager-wheel-test.js index 1828f77..45a5115 100644 --- a/tools/pager-wheel-test.js +++ b/tools/pager-wheel-test.js @@ -94,6 +94,8 @@ try { console.log('\n[a wheel notch is a step]'); await openPic('two pictures'); check('the picture opens in the pager', await resting('a1.png'), await curPic()); + check('opening fills the media buffer without scrolling to the end', await waitFor(() => document.querySelectorAll('.mp-group').length === 15, null, 8000)); + check('background loading keeps the first picture on screen', await curPic() === 'a1.png'); await page.mouse.move(640, 450); await wheel(100); check('a notch down: the next post\'s picture', await resting('b.png'), await curPic()); |
