Widen scroll listener search window for safety-valve line
# Conflicts: # tests/test_issue677.py
This commit is contained in:
1 parent
e3816cf03b
commit
e032cbb222
1 file changed
+2
-1
@@ -132,7 +132,8 @@ class TestScrollPinningFix:
|
||||
assert scroll_listener_start != -1, "scroll event listener not found"
|
||||
# After #1360 fix, the nearBottom + btn logic lives inside an rAF
|
||||
# callback — extend search window to cover the full listener block.
|
||||
listener_block = UI_JS[scroll_listener_start:scroll_listener_start + 1600]
|
||||
<<<<<<< HEAD
|
||||
listener_block = UI_JS[scroll_listener_start:scroll_listener_start + 1800]
|
||||
assert "_syncScrollToBottomCue(showBottomButton" in listener_block, (
|
||||
"Scroll listener must show/hide scrollToBottomBtn based on _scrollPinned (#677)"
|
||||
)
|
||||
|
||||
Reference in new issue
Block a user