From a4224bcc40c52846434ff785a6d160d45f81b6ac Mon Sep 17 00:00:00 2001 From: Akansha Sakhre Date: Sun, 8 Sep 2024 20:40:31 +0530 Subject: [PATCH] fixed test case --- src/containers/Profile/Contact/ContactProfile.test.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/containers/Profile/Contact/ContactProfile.test.tsx b/src/containers/Profile/Contact/ContactProfile.test.tsx index da89632e7..13daac53a 100644 --- a/src/containers/Profile/Contact/ContactProfile.test.tsx +++ b/src/containers/Profile/Contact/ContactProfile.test.tsx @@ -44,7 +44,8 @@ describe('contact profile with single profile', () => { fireEvent.click(getByText('Details')); await waitFor(() => { - expect(screen.getByText('Optin via BSP on 19/08/2021, 14:58:01')).toBeInTheDocument(); + expect(screen.getByText('Status')).toBeInTheDocument(); + expect(screen.getByText('Collections')).toBeInTheDocument(); }); }); });