From 11796fe7a87a187e54501f4e5d794dda18b41c3b Mon Sep 17 00:00:00 2001 From: Frank Song Date: Sat, 16 May 2026 20:05:19 +0800 Subject: [PATCH] Avoid magic cursor-loop test window --- tests/test_run_journal_frontend_static.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_run_journal_frontend_static.py b/tests/test_run_journal_frontend_static.py index 02d1b1e5..773b6618 100644 --- a/tests/test_run_journal_frontend_static.py +++ b/tests/test_run_journal_frontend_static.py @@ -73,7 +73,7 @@ def test_replayed_long_task_events_enter_the_same_live_timeline_handlers(): def test_run_journal_cursor_tracks_every_long_task_timeline_event(): """Every user-visible long-task event needs cursor tracking for parity replay.""" cursor_loop_pos = MESSAGES_SRC.index("for(const _runJournalEventName of [") - cursor_loop = MESSAGES_SRC[cursor_loop_pos : cursor_loop_pos + 700] + cursor_loop = MESSAGES_SRC[cursor_loop_pos : MESSAGES_SRC.index("]", cursor_loop_pos)] timeline_events = [ "token", "interim_assistant",