Skip to content

Commit a3a18d4

Browse files
serhalppieh
andauthored
test: add handling for moved skipped tests (#2970)
See vercel/next.js@3f9f403 Co-authored-by: Michal Piechowiak <misiek.piechowiak@gmail.com>
1 parent 7af10ec commit a3a18d4

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

tests/e2e-skip-retry.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@
2929
"test/e2e/app-dir/revalidate-dynamic/revalidate-dynamic.test.ts",
3030
"test/e2e/app-dir/rsc-basic/rsc-basic.test.ts",
3131
"test/e2e/basepath.test.ts",
32+
"test/e2e/basepath/basepath.test.ts",
33+
"test/e2e/basepath/error-pages.test.ts",
3234
"test/e2e/getserversideprops/test/index.test.ts",
3335
"test/e2e/middleware-general/test/index.test.ts",
3436
"test/e2e/module-layer/index.test.ts",

tests/test-config.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,7 @@
209209
]
210210
},
211211
{
212+
"//": "These tests were in this file before v15.4.0-canary.32 extracted them to a new file",
212213
"file": "test/e2e/basepath/basepath.test.ts",
213214
"reason": "Hard-coded expectation of Vercel's default 404 page",
214215
"tests": [
@@ -217,6 +218,14 @@
217218
"basePath should show 404 for page not under the /docs prefix"
218219
]
219220
},
221+
{
222+
"file": "test/e2e/basepath/error-pages.test.ts",
223+
"reason": "Hard-coded expectation of Vercel's default 404 page",
224+
"tests": [
225+
"basePath should not update URL for a 404",
226+
"basePath should show 404 for page not under the /docs prefix"
227+
]
228+
},
220229
{
221230
"file": "test/e2e/app-dir/app/index.test.ts",
222231
"reason": "Whitespace mismatch",

0 commit comments

Comments
 (0)