Skip to content

Commit 3c0e1fe

Browse files
authored
test: skip some vercel/next tests (#2789)
* test: skip tests that rely on Vercel specific response headers * test: skip flaky test that check scroll behavior which is browser focused
1 parent 30803ef commit 3c0e1fe

File tree

2 files changed

+17
-1
lines changed

2 files changed

+17
-1
lines changed

tests/e2e-skip-retry.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -34,5 +34,6 @@
3434
"test/e2e/module-layer/index.test.ts",
3535
"test/e2e/prerender.test.ts",
3636
"test/e2e/react-compiler/react-compiler.test.ts",
37-
"test/e2e/skip-trailing-slash-redirect/index.test.ts"
37+
"test/e2e/skip-trailing-slash-redirect/index.test.ts",
38+
"test/e2e/app-dir/router-autoscroll/router-autoscroll.test.ts"
3839
]

tests/test-config.json

+15
Original file line numberDiff line numberDiff line change
@@ -362,6 +362,21 @@
362362
{
363363
"file": "test/e2e/next-config-warnings/esm-externals-false/esm-externals-false.test.ts",
364364
"reason": "Uses CLI output"
365+
},
366+
{
367+
"file": "test/e2e/app-dir/app-root-params/generate-static-params.test.ts",
368+
"reason": "Checking Vercel specific x-vercel-cache header",
369+
"tests": [
370+
"app-root-params - generateStaticParams should be a cache hit for fully prerendered pages",
371+
"app-root-params - generateStaticParams should be a cache miss for pages that aren't prerendered"
372+
]
373+
},
374+
{
375+
"file": "test/e2e/app-dir/router-autoscroll/router-autoscroll.test.ts",
376+
"reason": "Test is very flaky, and seems to test mostly browser behavior",
377+
"tests": [
378+
"router autoscrolling on navigation bugs Should apply scroll when loading.js is used"
379+
]
365380
}
366381
],
367382
"failures": [

0 commit comments

Comments
 (0)