diff --git a/packages/core-components/src/layout/ErrorPage/ErrorPage.test.tsx b/packages/core-components/src/layout/ErrorPage/ErrorPage.test.tsx index 64a209e4b8..d7036d0a5b 100644 --- a/packages/core-components/src/layout/ErrorPage/ErrorPage.test.tsx +++ b/packages/core-components/src/layout/ErrorPage/ErrorPage.test.tsx @@ -100,7 +100,7 @@ describe('', () => { ); }); - it('should render with stack trace if stack is provided', async () => { + it('should render show details if stack is provided', async () => { const { getByText } = await renderInTestApp( ', () => { stack="this is my stack trace!" />, ); - expect(getByText(/this is my stack trace!/i)).toBeInTheDocument(); + expect(getByText(/Show more details/i)).toBeInTheDocument(); }); });