From ccc23f6cb647075eb6a4543536ea7817fb9907a1 Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Fri, 17 Apr 2026 17:17:51 +0100 Subject: [PATCH] test: trim navigation scroll fixture --- ui/src/ui/navigation.browser.test.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ui/src/ui/navigation.browser.test.ts b/ui/src/ui/navigation.browser.test.ts index 6b8a25b15e9..6d3ed399bac 100644 --- a/ui/src/ui/navigation.browser.test.ts +++ b/ui/src/ui/navigation.browser.test.ts @@ -407,9 +407,9 @@ describe("control UI routing", () => { scrollTop = Math.max(0, Math.min(top, 2400 - 180)); }) as typeof initialContainer.scrollTo; - app.chatMessages = Array.from({ length: 60 }, (_, index) => ({ + app.chatMessages = Array.from({ length: 3 }, (_, index) => ({ role: "assistant", - content: `Line ${index} - ${"x".repeat(200)}`, + content: `Line ${index}`, timestamp: Date.now() + index, })); @@ -451,8 +451,8 @@ describe("control UI routing", () => { ...app.chatMessages, { role: "assistant", - content: `Line 60 - ${"x".repeat(200)}`, - timestamp: Date.now() + 60, + content: "Line 3", + timestamp: Date.now() + 3, }, ]; await app.updateComplete;