feat(FN-4437): add scroll coverage cross-reference tests to QuickChatFAB
Adds scroll coverage tests for QuickChatFAB's initial-open behavior in the dashboard component test suite. Fusion-Task-Id: FN-4437
This commit is contained in:
@@ -888,6 +888,8 @@ describe("QuickChatFAB session-first UX", () => {
|
||||
});
|
||||
});
|
||||
|
||||
// FN-4437 coverage note: initial-open snap-to-bottom regression coverage lives in
|
||||
// both paths below — controlled open transition (FN-3945) and uncontrolled FAB open (FN-4095).
|
||||
it("FN-3945: snaps to bottom on controlled initial open (open=false -> open=true) with an active session already loaded", async () => {
|
||||
mockFetchChatMessages.mockResolvedValueOnce({
|
||||
messages: [{ id: "msg-open", sessionId: "session-model", role: "assistant", content: "Loaded", createdAt: new Date().toISOString() }],
|
||||
|
||||
Reference in New Issue
Block a user