test: update live scroll fixture contracts
This commit is contained in:
parent
cc5cf19710
commit
c32b10ee8b
3 changed files with 3 additions and 2 deletions
|
|
@ -74,7 +74,7 @@ def test_live_anchor_worklog_rebuild_restores_snapshot_before_follow_settle():
|
|||
dedupe_idx = body.index("_dedupeLiveProcessedWorklogAnchors(turn);")
|
||||
move_status_idx = body.index("_moveLiveRunStatusToTurnEnd();")
|
||||
restore_idx = body.index("_restoreMessageScrollSnapshotSameFrame(scrollSnapshot);")
|
||||
release_idx = body.index("if(scrollRebuildGuard&&scrollRebuildGuard.release)")
|
||||
release_idx = body.index("_restoreLiveAnchorScrollSnapshotAfterRebuild(scrollSnapshot,scrollRebuildGuard);")
|
||||
settle_idx = body.index("if(!scrollRebuildGuard.readerAwayFromBottom&&typeof scrollIfPinned==='function') scrollIfPinned();")
|
||||
|
||||
assert capture_idx < guard_idx < remove_idx < restore_detail_idx < dedupe_idx < move_status_idx < restore_idx < release_idx < settle_idx
|
||||
|
|
|
|||
|
|
@ -161,7 +161,7 @@ function _restoreMessageScrollSnapshotSameFrameFallback(){{}}
|
|||
function requestAnimationFrame(callback){{callbacks.push(callback);}}
|
||||
const snapshot=_captureMessageScrollSnapshot();
|
||||
const capturedPinned=snapshot.pinned===true;
|
||||
{f"el._top=89577; _messageUserUnpinned=true; _scrollPinned=false;" if not move_to_bottom else ""}
|
||||
{"el._top=89577; _messageUserUnpinned=true; _scrollPinned=false;" if not move_to_bottom else ""}
|
||||
const scrollRebuildGuard=_prepareLiveAnchorScrollRebuildGuard(snapshot);
|
||||
_restoreMessageScrollSnapshotSameFrame(snapshot);
|
||||
const initialWrites=writes.slice();
|
||||
|
|
|
|||
|
|
@ -1250,6 +1250,7 @@ global._syncToolCallGroupSummary=()=>{{}};
|
|||
eval(extractFunc('_anchorSceneLiveTokenFinalPrefix'));
|
||||
eval(extractFunc('_anchorSceneTransparentNodeForRow'));
|
||||
eval(extractFunc('renderLiveAnchorActivityScene'));
|
||||
eval(extractFunc('_restoreLiveAnchorScrollSnapshotAfterRebuild'));
|
||||
eval(extractFunc('_transparentLiveRowKey'));
|
||||
eval(extractFunc('_transparentLiveRowsCompatible'));
|
||||
eval(extractFunc('_transparentLiveRowAttributePairs'));
|
||||
|
|
|
|||
Loading…
Reference in a new issue