diff --git a/test/e2e/app-dir/interception-middleware-rewrite/app/[lang]/layout.tsx b/test/e2e/app-dir/interception-middleware-rewrite/app/[lang]/layout.tsx
index 521cc03120ad5..9c372385c7bd8 100644
--- a/test/e2e/app-dir/interception-middleware-rewrite/app/[lang]/layout.tsx
+++ b/test/e2e/app-dir/interception-middleware-rewrite/app/[lang]/layout.tsx
@@ -1,6 +1,10 @@
import Link from 'next/link'
-export default function Layout({ children, modal, params }) {
+export default async function Layout(props) {
+ const params = await props.params
+
+ const { children, modal } = props
+
return (
<>
diff --git a/test/e2e/app-dir/navigation/app/not-found/clientcomponent/page.js b/test/e2e/app-dir/navigation/app/not-found/clientcomponent/page.js
index 066490779210e..4d28919b28e72 100644
--- a/test/e2e/app-dir/navigation/app/not-found/clientcomponent/page.js
+++ b/test/e2e/app-dir/navigation/app/not-found/clientcomponent/page.js
@@ -2,8 +2,8 @@
import ClientComp from './client-component'
import { headers } from 'next/headers'
-export default function Page() {
+export default async function Page() {
// Opt-in to SSR.
- headers()
+ await headers()
return
}
diff --git a/test/e2e/app-dir/navigation/app/redirect/clientcomponent/page.js b/test/e2e/app-dir/navigation/app/redirect/clientcomponent/page.js
index 5b6bb43c2cc52..36a32fbfb4089 100644
--- a/test/e2e/app-dir/navigation/app/redirect/clientcomponent/page.js
+++ b/test/e2e/app-dir/navigation/app/redirect/clientcomponent/page.js
@@ -1,8 +1,8 @@
import ClientComp from './client-component'
import { headers } from 'next/headers'
-export default function Page() {
+export default async function Page() {
// Opt-in to SSR.
- headers()
+ await headers()
return
}
diff --git a/test/e2e/app-dir/parallel-routes-breadcrumbs/app/[artist]/[album]/page.tsx b/test/e2e/app-dir/parallel-routes-breadcrumbs/app/[artist]/[album]/page.tsx
index bbff22e628317..2d75682397c44 100644
--- a/test/e2e/app-dir/parallel-routes-breadcrumbs/app/[artist]/[album]/page.tsx
+++ b/test/e2e/app-dir/parallel-routes-breadcrumbs/app/[artist]/[album]/page.tsx
@@ -5,7 +5,7 @@ export default async function Page({ params }) {
const { artist, album } = await params
return (
-
Album: {params.album}
+
Album: {album}