File tree Expand file tree Collapse file tree 1 file changed +0
-17
lines changed
test/development/app-dir/missing-required-html-tags Expand file tree Collapse file tree 1 file changed +0
-17
lines changed Original file line number Diff line number Diff line change 33 assertHasRedbox ,
44 assertNoRedbox ,
55 getRedboxDescription ,
6- getRedboxTotalErrorCount ,
7- openRedbox ,
86 retry ,
97} from 'next-test-utils'
108import { outdent } from 'outdent'
@@ -63,22 +61,7 @@ describe('app-dir - missing required html tags', () => {
6361 )
6462 )
6563
66- await openRedbox ( browser )
6764 // TODO(NDX-768): Should show "missing tags" error
68- expect ( await getRedboxDescription ( browser ) ) . toMatchInlineSnapshot ( `
69- "In HTML, <p> cannot be a child of <#document>.
70- This will cause a hydration error."
71- ` )
72- expect ( await getRedboxTotalErrorCount ( browser ) ) . toBe ( 1 )
73-
74- // Fix the issue again
75- await next . patchFile ( 'app/layout.js' , ( code ) =>
76- code . replace (
77- 'return children' ,
78- 'return <html><body>{children}</body></html>'
79- )
80- )
81-
8265 await assertNoRedbox ( browser )
8366 } )
8467} )
You can’t perform that action at this time.
0 commit comments