[#197] added missing infos

This commit is contained in:
Camille Moussu
2025-10-16 11:48:50 +02:00
committed by Benoit TELLIER
parent ed8bb41ca9
commit 6411ed636b
6 changed files with 259 additions and 121 deletions
@@ -155,8 +155,10 @@ describe("Event Preview Display", () => {
/>,
preloadedState
);
fireEvent.click(screen.getByTestId("MoreVertIcon"));
expect(screen.queryByText("Delete event")).not.toBeInTheDocument();
const moreButton = screen.getByTestId("MoreVertIcon");
if (moreButton) {
expect(screen.queryByText("Delete event")).not.toBeInTheDocument();
}
cleanup();
// Renders the personnal cal event
renderWithProviders(