[#278] fixed unprefilled calendar and added test (#279)

Co-authored-by: Camille Moussu <cmoussu@linagora.com>
This commit is contained in:
Camille Moussu
2025-11-04 14:14:29 +01:00
committed by GitHub
parent 2cf20e9655
commit 2d0803090a
2 changed files with 13 additions and 0 deletions
@@ -341,4 +341,11 @@ describe("EventPopover", () => {
expect(mockOnClose).toHaveBeenCalledWith({}, "backdropClick");
});
it("BUGFIX: Prefill Calendar field", async () => {
renderPopover();
await waitFor(() =>
expect(screen.getByLabelText("Calendar")).toHaveTextContent("Calendar 1")
);
});
});