diff --git a/apps/desktop/src/session/components/outer-header/index.test.tsx b/apps/desktop/src/session/components/outer-header/index.test.tsx index 0c10936569..c74dc8b09d 100644 --- a/apps/desktop/src/session/components/outer-header/index.test.tsx +++ b/apps/desktop/src/session/components/outer-header/index.test.tsx @@ -499,7 +499,30 @@ describe("OuterHeader", () => { expect(screen.queryByRole("textbox", { name: "Session title" })).toBeNull(); }); - it("hides the title input on the memo tab", () => { + it("shows an editable title on the memo tab before recording", () => { + render( + , + ); + + const title = screen.getByRole("textbox", { name: "Session title" }); + + expect(title.getAttribute("placeholder")).toBe("Untitled"); + }); + + it("hides the title input on the memo tab after recording", () => { + mocks.hasTranscriptBySession = { "session-1": true }; + render(