You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
The cover-under-header test waits for the doc before it scrolls the pane (Issue #1903): test/cover-under-header-browser.test.mjs scrolled #main to 900 once the cover image had loaded. The record's doc renders only after Vditor's 3.7 MB lute.min.js runs, and until then the pane is 845 px tall in an 800 px window. A runner that took more than 500 ms to run that script reached network idle first, so the scroll clamped near 61 and the wait for scrollTop > 400 timed out at 30 s (main run 45420303537, browser-2). scrollPane now waits until the pane can scroll 900 px before it scrolls. A new case hides the doc for 1.5 s after the cover settles and fails the old helper with the same timeout.