From 8f6817319f2ef49975f901de6b768b9d9326f4a3 Mon Sep 17 00:00:00 2001 From: Akansha Sakhre Date: Mon, 25 Nov 2024 12:54:53 +0530 Subject: [PATCH] added test cases --- src/components/floweditor/FlowEditor.test.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/floweditor/FlowEditor.test.tsx b/src/components/floweditor/FlowEditor.test.tsx index 1082af483..0c7fbbd5b 100644 --- a/src/components/floweditor/FlowEditor.test.tsx +++ b/src/components/floweditor/FlowEditor.test.tsx @@ -342,4 +342,5 @@ test('if flow is not published it should show warning', async () => { await waitFor(() => { expect(screen.getByTestId('dialogBox')).toBeInTheDocument(); }); + fireEvent.click(getByTestId('cancel-button')); });