"description": "Hydration failed because the server rendered text didn't match the client. As a result this tree will be regenerated on the client. This can happen if a SSR-ed Client Component used:",
"environmentLabel": null,
"label": "Recoverable Error",
...
...
@@ -111,14 +110,13 @@ describe('Error overlay for hydration errors in App router', () => {
"description": "Hydration failed because the server rendered HTML didn't match the client. As a result this tree will be regenerated on the client. This can happen if a SSR-ed Client Component used:",
"environmentLabel": null,
"label": "Recoverable Error",
...
...
@@ -151,15 +149,14 @@ describe('Error overlay for hydration errors in App router', () => {
<Next.js Internal Component>
<Next.js Internal Component>
<Next.js Internal Component>
<Next.js Internal Component>
<script>
<Next.js Internal Component>
<RootLayout params={Promise}>
<html
- className="server-html"
>
...
...",
<script>
<Next.js Internal Component>
<RootLayout params={Promise}>
<html
- className="server-html"
>
...
...",
"description": "A tree hydrated but some attributes of the server rendered HTML didn't match the client properties. This won't be patched up. This can happen if a SSR-ed Client Component used:",
"environmentLabel": null,
"label": "Console Error",
...
...
@@ -187,14 +184,13 @@ describe('Error overlay for hydration errors in App router', () => {
<Next.js Internal Component>
<Next.js Internal Component>
<Next.js Internal Component>
<Next.js Internal Component>
<Next.js Internal Component>
<RootLayout params={Promise}>
<html
- className="server-html"
>
...
...",
<Next.js Internal Component>
<RootLayout params={Promise}>
<html
- className="server-html"
>
...
...",
"description": "A tree hydrated but some attributes of the server rendered HTML didn't match the client properties. This won't be patched up. This can happen if a SSR-ed Client Component used:",
"environmentLabel": null,
"label": "Console Error",
...
...
@@ -226,17 +222,16 @@ describe('Error overlay for hydration errors in App router', () => {
"description": "Hydration failed because the server rendered HTML didn't match the client. As a result this tree will be regenerated on the client. This can happen if a SSR-ed Client Component used:",
"environmentLabel": null,
"label": "Recoverable Error",
...
...
@@ -348,16 +343,15 @@ describe('Error overlay for hydration errors in App router', () => {
<Next.js Internal Component>
<Next.js Internal Component>
<Next.js Internal Component>
<Next.js Internal Component>
<Next.js Internal Component>
<Page params={Promise} searchParams={Promise}>
<table>
<tbody>
<tr>
> test
...
<Next.js Internal Component>
<Page params={Promise} searchParams={Promise}>
<table>
<tbody>
<tr>
> test
...
...",
...
...",
"description": "In HTML, text nodes cannot be a child of <tr>.
This will cause a hydration error.",
"environmentLabel": null,
...
...
@@ -460,18 +454,17 @@ describe('Error overlay for hydration errors in App router', () => {
"description": "Hydration failed because the server rendered HTML didn't match the client. As a result this tree will be regenerated on the client. This can happen if a SSR-ed Client Component used:",
"environmentLabel": null,
"label": "Recoverable Error",
...
...
@@ -575,16 +568,15 @@ describe('Error overlay for hydration errors in App router', () => {
<Next.js Internal Component>
<Next.js Internal Component>
<Next.js Internal Component>
<Next.js Internal Component>
<Next.js Internal Component>
<Page params={Promise} searchParams={Promise}>
<Next.js Internal Component>
<Page params={Promise} searchParams={Promise}>
<div>
<div>
<div>
> <p>
> <div>
...
> <p>
> <div>
...
...",
...
...",
"description": "In HTML, <div> cannot be a descendant of <p>.