From 45feb6e9a3b6699e2ba3984d45aa1013f6ba2981 Mon Sep 17 00:00:00 2001 From: Rohit Kandimalla Date: Wed, 6 Nov 2024 09:57:42 -0500 Subject: [PATCH] MAT-7667 Fixed unit test cases in EditTestCase.test.tsx --- src/components/editTestCase/qiCore/EditTestCase.test.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/editTestCase/qiCore/EditTestCase.test.tsx b/src/components/editTestCase/qiCore/EditTestCase.test.tsx index f623cf69..eb17d13c 100644 --- a/src/components/editTestCase/qiCore/EditTestCase.test.tsx +++ b/src/components/editTestCase/qiCore/EditTestCase.test.tsx @@ -819,7 +819,7 @@ describe("EditTestCase other test cases", () => { const alert = await screen.findByTestId("error-toast"); expect(alert).toHaveTextContent( - "An error occurred - create did not return the expected successful result." + "An error occurred while updating the test case." ); const closeAlertBtn = screen.findByTestId("close-toast-button");