Skip to content

Commit 6da179a

Browse files
committed
test: skip tests that don't exactly match status code due to platform differences
1 parent 3a11d47 commit 6da179a

File tree

1 file changed

+19
-1
lines changed

1 file changed

+19
-1
lines changed

tests/test-config.json

Lines changed: 19 additions & 1 deletion
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",
@@ -396,6 +398,22 @@
396398
"tests": [
397399
"router autoscrolling on navigation bugs Should apply scroll when loading.js is used"
398400
]
401+
},
402+
{
403+
"file": "test/e2e/app-dir/actions-unrecognized/actions-unrecognized.test.ts",
404+
"reason": "Mismatch of reported status code of response (500 instead of 'expected' 405). Test itself has FIXME comment about that.",
405+
"tests": [
406+
"unrecognized server actions should error and log a warning when submitting a server action with an unrecognized ID - nodejs server action invoked via form - js disabled",
407+
"unrecognized server actions should error and log a warning when submitting a server action with an unrecognized ID - edge server action invoked via form - js disabled"
408+
]
409+
},
410+
{
411+
"file": "test/e2e/app-dir/actions/app-action-size-limit-invalid.test.ts",
412+
"reason": "Mismatch of reported status code of response (502 instead of expected 500)",
413+
"tests": [
414+
"app-dir action size limit invalid config should respect the size set in serverActions.bodySizeLimit for plaintext fetch actions should error for requests that exceed the size limit",
415+
"app-dir action size limit invalid config should respect the size set in serverActions.bodySizeLimit for multipart fetch actions should error for requests that exceed the size limit"
416+
]
399417
}
400418
],
401419
"failures": [

0 commit comments

Comments
 (0)