fix(frontend): show complete model activity from phase one
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user