diff --git a/plugins/techdocs/src/reader/components/TechDocsNotFound.test.tsx b/plugins/techdocs/src/reader/components/TechDocsNotFound.test.tsx
index 70504561ef..7b0ec80619 100644
--- a/plugins/techdocs/src/reader/components/TechDocsNotFound.test.tsx
+++ b/plugins/techdocs/src/reader/components/TechDocsNotFound.test.tsx
@@ -18,11 +18,12 @@ import React from 'react';
import { render } from '@testing-library/react';
import { wrapInTestApp } from '@backstage/test-utils';
-describe('TechDocs Not Found', () => {
- it('should render a Documentation not found page', async () => {
- const { queryByText } = render(wrapInTestApp());
- expect(
- queryByText(/Error 404: Documentation not found/i),
- ).toBeInTheDocument();
+describe('', () => {
+ it('should render with status code, status message and go back link', () => {
+ const rendered = render(wrapInTestApp());
+ rendered.getByText(/Documentation not found/i);
+ rendered.getByText(/404/i);
+ rendered.getByText(/Looks like someone dropped the mic!/i);
+ expect(rendered.getByTestId('go-back-link')).toBeDefined();
});
});