Skip to content

Commit 2af4aa1

Browse files
committed
test: skip test asserting specific 404 body that does not match Netlify platform default
1 parent b14ff62 commit 2af4aa1

File tree

1 file changed

+34
-2
lines changed

1 file changed

+34
-2
lines changed

tests/test-config.json

Lines changed: 34 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,9 @@
124124
{
125125
"file": "test/e2e/app-dir/app-static/app-static.test.ts",
126126
"reason": "Uses CLI output",
127-
"tests": ["app-dir static/dynamic handling should warn for too many cache tags"]
127+
"tests": [
128+
"app-dir static/dynamic handling should warn for too many cache tags"
129+
]
128130
},
129131
{
130132
"file": "test/e2e/app-dir/parallel-routes-and-interception/parallel-routes-and-interception.test.ts",
@@ -442,11 +444,41 @@
442444
{
443445
"file": "test/e2e/app-dir/app-root-params-getters/generate-static-params.test.ts",
444446
"reason": "Test relies on x-vercel-cache response header that is Vercel specific",
445-
"tests": ["app-root-param-getters - generateStaticParams should be statically prerenderable"]
447+
"tests": [
448+
"app-root-param-getters - generateStaticParams should be statically prerenderable"
449+
]
446450
},
447451
{
448452
"file": "test/e2e/app-dir/fallback-shells/fallback-shells.test.ts",
449453
"reason": "Test relies on x-matched-path response header that is not set in non-minimal mode"
454+
},
455+
{
456+
"file": "test/e2e/invalid-static-asset-404-pages/invalid-static-asset-404-pages.test.ts",
457+
"reason": "We are serving default Netlify 404 page instead of relying on next-server to serve 404 (https://github.com/opennextjs/opennextjs-netlify/pull/3100)",
458+
"tests": [
459+
"invalid-static-asset-404-pages should return 404 with plain text when fetching invalid asset path"
460+
]
461+
},
462+
{
463+
"file": "test/e2e/invalid-static-asset-404-pages/invalid-static-asset-404-pages-base-path.test.ts",
464+
"reason": "We are serving default Netlify 404 page instead of relying on next-server to serve 404 (https://github.com/opennextjs/opennextjs-netlify/pull/3100)",
465+
"tests": [
466+
"invalid-static-asset-404-pages-base-path should return 404 with plain text when fetching invalid asset path"
467+
]
468+
},
469+
{
470+
"file": "test/e2e/invalid-static-asset-404-app/invalid-static-asset-404-app-base-path.test.ts",
471+
"reason": "We are serving default Netlify 404 page instead of relying on next-server to serve 404 (https://github.com/opennextjs/opennextjs-netlify/pull/3100)",
472+
"tests": [
473+
"invalid-static-asset-404-app-base-path should return 404 with plain text when fetching invalid asset path"
474+
]
475+
},
476+
{
477+
"file": "test/e2e/invalid-static-asset-404-app/invalid-static-asset-404-app.test.ts",
478+
"reason": "We are serving default Netlify 404 page instead of relying on next-server to serve 404 (https://github.com/opennextjs/opennextjs-netlify/pull/3100)",
479+
"tests": [
480+
"invalid-static-asset-404-app should return 404 with plain text when fetching invalid asset path"
481+
]
450482
}
451483
],
452484
"failures": [

0 commit comments

Comments
 (0)