Skip to content

Commit 2e8a801

Browse files
committed
test: skip segment cache conflict tests that rely on header we do not set
1 parent 7792966 commit 2e8a801

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

tests/test-config.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -424,6 +424,16 @@
424424
{
425425
"file": "test/e2e/app-dir/next-after-app-deploy/index.test.ts",
426426
"reason": "Common test setup in this test suite is making 2 requests to page with 1 hour revalidation asserting it's the same, but on Netlify the first fetch will serve content we mark as stale, so second one will serve freshly generated one and those won't match."
427+
},
428+
{
429+
"file": "test/e2e/app-dir/segment-cache/conflicting-routes/conflicting-routes.test.ts",
430+
"reason": "Test rely on `x-matched-path response header that we do not set in non minimal mode",
431+
"tests": [
432+
"conflicting routes /en/vercel/~/monitoring matches the right route",
433+
"conflicting routes /fr/vercel/~/monitoring matches the right route",
434+
"conflicting routes /es/vercel/~/monitoring matches the right route",
435+
"conflicting routes matches the right route when the original route has no dynamic params, is dynamic, and PPR is disabled"
436+
]
427437
}
428438
],
429439
"failures": [

0 commit comments

Comments
 (0)