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 {