fix(frontend): show complete model activity from phase one

This commit is contained in:
User
2026-07-14 23:06:07 +02:00
parent f0f6c3c223
commit f58b1d84ae
5 changed files with 279 additions and 112 deletions
@@ -63,6 +63,11 @@ test("shows the question and creation timer before POST /sessions resolves, then
expect(await screen.findByText("How many patients?", { selector: "p" })).toBeInTheDocument();
expect(screen.getByText("Creating session…")).toBeInTheDocument();
expect(screen.getByText(/\d+s/)).toBeInTheDocument();
expect(useSessionStore.getState().activityLog[0]).toEqual({
kind: "prompt",
phase: "F1",
text: "How many patients?",
});
expect(FakeEventSource.instances).toHaveLength(0);
releaseCreate();