From 3cc945cbe141477b02f1f6871c44402e7f79f52f Mon Sep 17 00:00:00 2001 From: Bogdan Nechyporenko Date: Wed, 4 Oct 2023 16:52:20 +0200 Subject: [PATCH] Fix for a Warning Panel. For certain error messages the content of it doesn't fit inside the div container. Signed-off-by: Bogdan Nechyporenko --- .../src/components/ErrorPanel/ErrorPanel.test.tsx | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/packages/core-components/src/components/ErrorPanel/ErrorPanel.test.tsx b/packages/core-components/src/components/ErrorPanel/ErrorPanel.test.tsx index a3588b99c3..66ef82b029 100644 --- a/packages/core-components/src/components/ErrorPanel/ErrorPanel.test.tsx +++ b/packages/core-components/src/components/ErrorPanel/ErrorPanel.test.tsx @@ -32,12 +32,10 @@ describe('', () => { , ); - expect( - screen.getByText('Error: Step has been failed.'), - ).toBeInTheDocument(); + expect(screen.getByText('Error: Step has failed.')).toBeInTheDocument(); expect(screen.getByText('Help')).toHaveAttribute( 'href',