diff --git a/test/e2e/app-dir/actions/app-action.test.ts b/test/e2e/app-dir/actions/app-action.test.ts index 6167bd2f5e3a4..6c9d9532a5cd1 100644 --- a/test/e2e/app-dir/actions/app-action.test.ts +++ b/test/e2e/app-dir/actions/app-action.test.ts @@ -114,7 +114,7 @@ createNextDescribe( await check(() => { return browser.eval('window.location.pathname + window.location.search') - }, '/header?name=test&constructor=FormData') + }, '/header?name=test&constructor=FormData&hidden-info=hi') }) it('should support .bind', async () => { diff --git a/test/e2e/app-dir/actions/app/server/form.js b/test/e2e/app-dir/actions/app/server/form.js index 2793a18dd1f79..223e9585763e7 100644 --- a/test/e2e/app-dir/actions/app/server/form.js +++ b/test/e2e/app-dir/actions/app/server/form.js @@ -6,7 +6,9 @@ async function action(formData) { '/header?name=' + formData.get('name') + '&constructor=' + - formData.constructor.name + formData.constructor.name + + '&hidden-info=' + + formData.get('hidden-info') ) } @@ -43,6 +45,7 @@ export default function Form() { <>