diff --git a/test/development/app-dir/missing-required-html-tags/index.test.ts b/test/development/app-dir/missing-required-html-tags/index.test.ts index 98ad32b89311b..9ee8b59f6ae3b 100644 --- a/test/development/app-dir/missing-required-html-tags/index.test.ts +++ b/test/development/app-dir/missing-required-html-tags/index.test.ts @@ -3,8 +3,6 @@ import { assertHasRedbox, assertNoRedbox, getRedboxDescription, - getRedboxTotalErrorCount, - openRedbox, retry, } from 'next-test-utils' import { outdent } from 'outdent' @@ -63,22 +61,7 @@ describe('app-dir - missing required html tags', () => { ) ) - await openRedbox(browser) // TODO(NDX-768): Should show "missing tags" error - expect(await getRedboxDescription(browser)).toMatchInlineSnapshot(` - "In HTML,
cannot be a child of <#document>. - This will cause a hydration error." - `) - expect(await getRedboxTotalErrorCount(browser)).toBe(1) - - // Fix the issue again - await next.patchFile('app/layout.js', (code) => - code.replace( - 'return children', - 'return
{children}' - ) - ) - await assertNoRedbox(browser) }) })