From 52e9a60245b44e2429f58d9224ad56a1ad6a6d61 Mon Sep 17 00:00:00 2001 From: liugddx Date: Wed, 26 Aug 2026 12:56:40 +0800 Subject: [PATCH] test(desktop): settle prompt-rail scroll jumps Generated-by: Codex --- apps/desktop/e2e/prompt-rail.spec.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/desktop/e2e/prompt-rail.spec.ts b/apps/desktop/e2e/prompt-rail.spec.ts index acef92f51e..44d7e64173 100644 --- a/apps/desktop/e2e/prompt-rail.spec.ts +++ b/apps/desktop/e2e/prompt-rail.spec.ts @@ -91,6 +91,8 @@ async function scrollTranscriptTo(page: Page, position: 'top' | 'bottom'): Promi if (!scroller) throw new Error('the chat scroll container is missing'); scroller.scrollTop = where === 'top' ? 0 : scroller.scrollHeight; }, position); + await notifyTranscriptScrolled(page); + await waitForPaintedFrames(page); } async function waitForPaintedFrames(page: Page, count = 2): Promise {