Unverified Commit 18b2e9d5 authored by Tobias Koppers's avatar Tobias Koppers Committed by GitHub

reenable initially skipped tests (#63347)

### What?

We initially skipped a few test cases. We need to reenable them.

### Why?

### How?


Closes PACK-2752
parent aa137055
......@@ -22,102 +22,7 @@ const INITIALIZING_TEST_CASES = [
]
// please make sure this is sorted alphabetically when making changes.
const SKIPPED_TEST_SUITES = {
'test/development/acceptance-app/ReactRefreshRegression.test.ts': [
'ReactRefreshRegression app can fast refresh a page with config',
'ReactRefreshRegression app can fast refresh a page with dynamic rendering',
],
'test/development/acceptance-app/ReactRefreshRequire.test.ts': [
'ReactRefreshRequire app propagates a hot update to closest accepted module',
'ReactRefreshRequire app propagates hot update to all inverse dependencies',
'ReactRefreshRequire app re-runs accepted modules',
],
'test/development/acceptance/ReactRefreshRequire.test.ts': [
'ReactRefreshRequire propagates a hot update to closest accepted module',
'ReactRefreshRequire propagates hot update to all inverse dependencies',
'ReactRefreshRequire re-runs accepted modules',
],
'test/development/basic/hmr.test.ts': [
'basic HMR, basePath: "/docs" Error Recovery should show the error on all pages',
],
'test/development/jsconfig-path-reloading/index.test.ts': [
/should automatically fast refresh content when path is added without error/,
/should recover from module not found when paths is updated/,
],
'test/development/middleware-errors/index.test.ts': [
'middleware - development errors when there is a compilation error after boot logs the error correctly',
'middleware - development errors when there is a compilation error from boot logs the error correctly',
],
'test/development/tsconfig-path-reloading/index.test.ts': [
/should automatically fast refresh content when path is added without error/,
'tsconfig-path-reloading tsconfig added after starting dev should load with initial paths config correctly',
],
'test/e2e/app-dir/app-compilation/index.test.ts': [
'app dir HMR should not cause error when removing loading.js',
],
'test/e2e/app-dir/app-css/index.test.ts': [
'app dir - css css support server layouts should support external css imports',
],
'test/e2e/app-dir/metadata/metadata.test.ts': [
'app dir - metadata file based icons should handle updates to the file icon name and order',
'app dir - metadata react cache should have same title and page value on initial load',
'app dir - metadata react cache should have same title and page value when navigating',
'app dir - metadata static routes should have icons as route',
'app dir - metadata twitter should render twitter card summary when image is not present',
'app dir - metadata twitter should support default twitter app card',
'app dir - metadata twitter should support default twitter player card',
'app dir - metadata twitter should support twitter card summary_large_image when image present',
'app dir - metadata viewport should support dynamic viewport export',
],
'test/e2e/basepath.test.ts': [
'basePath should 404 when manually adding basePath with router.push',
'basePath should 404 when manually adding basePath with router.replace',
],
'test/e2e/conflicting-app-page-error/index.test.ts': [
'Conflict between app file and pages file should not show error overlay for non conflict pages under app or pages dir',
],
'test/e2e/middleware-rewrites/test/index.test.ts': [
'Middleware Rewrite should have props for afterFiles rewrite to SSG page',
],
'test/integration/absolute-assetprefix/test/index.test.js': [
'absolute assetPrefix with path prefix should work with getStaticPaths prerendered',
],
'test/integration/app-document-remove-hmr/test/index.test.js': [
'_app removal HMR should HMR when _document is removed',
],
'test/integration/app-document/test/index.test.js': [
'Document and App Client side should detect the changes to pages/_app.js and display it',
'Document and App Client side should detect the changes to pages/_document.js and display it',
],
'test/integration/css/test/css-modules.test.js': [
'CSS Modules Composes Ordering Development Mode should have correct color on index page (on nav from index)',
'CSS Modules Composes Ordering Development Mode should have correct color on index page (on nav from other)',
],
'test/integration/custom-error/test/index.test.js': [/Custom _error/],
'test/integration/dynamic-routing/test/index.test.js': [
'Dynamic Routing dev mode should work with HMR correctly',
'Dynamic Routing production mode should have correct cache entries on prefetch',
'Dynamic Routing production mode should render dynamic route with query',
],
'test/integration/dynamic-routing/test/middleware.test.js': [
'Dynamic Routing dev mode should resolve dynamic route href for page added later',
'Dynamic Routing production mode should output a routes-manifest correctly',
],
'test/integration/env-config/test/index.test.js': [
'Env Config dev mode with hot reload should provide env correctly for API routes',
'Env Config dev mode with hot reload should provide env correctly for SSR',
'Env Config dev mode with hot reload should provide env for SSG',
],
'test/integration/import-assertion/test/index.test.js': [
/should handle json assertions/,
],
'test/integration/next-image-legacy/unicode/test/index.test.ts': [
/Image Component Unicode Image URL/,
],
'test/integration/next-image-new/unicode/test/index.test.ts': [
/Image Component Unicode Image URL/,
],
}
const SKIPPED_TEST_SUITES = {}
function checkSorted(arr, name) {
const sorted = [...arr].sort()
......
......@@ -930,6 +930,8 @@
},
"test/development/acceptance-app/ReactRefreshRegression.test.ts": {
"passed": [
"ReactRefreshRegression app can fast refresh a page with config",
"ReactRefreshRegression app can fast refresh a page with dynamic rendering",
"ReactRefreshRegression app can fast refresh a page with static generation",
"ReactRefreshRegression app shows an overlay for anonymous function server-side error",
"ReactRefreshRegression app shows an overlay for server-side error in client component",
......@@ -940,10 +942,7 @@
"ReactRefreshRegression app Turbopack skipped tests custom loader mdx should have Fast Refresh enabled",
"ReactRefreshRegression app styled-components hydration mismatch"
],
"flakey": [
"ReactRefreshRegression app can fast refresh a page with config",
"ReactRefreshRegression app can fast refresh a page with dynamic rendering"
],
"flakey": [],
"runtimeError": false
},
"test/development/acceptance-app/ReactRefreshRequire.test.ts": {
......@@ -961,15 +960,15 @@
"ReactRefreshRequire app runs dependencies before dependents",
"ReactRefreshRequire app stops update propagation after module-level errors"
],
"failed": [],
"pending": [
"ReactRefreshRequire app propagates a module that stops accepting in next version"
],
"flakey": [
"failed": [
"ReactRefreshRequire app propagates a hot update to closest accepted module",
"ReactRefreshRequire app propagates hot update to all inverse dependencies",
"ReactRefreshRequire app re-runs accepted modules"
],
"pending": [
"ReactRefreshRequire app propagates a module that stops accepting in next version"
],
"flakey": [],
"runtimeError": false
},
"test/development/acceptance-app/app-hmr-changes.test.ts": {
......@@ -1308,13 +1307,13 @@
"ReactRefreshRequire runs dependencies before dependents",
"ReactRefreshRequire stops update propagation after module-level errors"
],
"failed": [],
"pending": [],
"flakey": [
"failed": [
"ReactRefreshRequire propagates a hot update to closest accepted module",
"ReactRefreshRequire propagates hot update to all inverse dependencies",
"ReactRefreshRequire re-runs accepted modules"
],
"pending": [],
"flakey": [],
"runtimeError": false
},
"test/development/acceptance/component-stack.test.ts": {
......@@ -1888,37 +1887,36 @@
},
"test/development/jsconfig-path-reloading/index.test.ts": {
"passed": [
"jsconfig-path-reloading jsconfig added after starting dev should load with initial paths config correctly",
"jsconfig-path-reloading jsconfig should load with initial paths config correctly"
],
"failed": [],
"pending": [],
"flakey": [
"jsconfig-path-reloading jsconfig added after starting dev should automatically fast refresh content when path is added without error",
"jsconfig-path-reloading jsconfig added after starting dev should load with initial paths config correctly",
"jsconfig-path-reloading jsconfig added after starting dev should recover from module not found when paths is updated",
"jsconfig-path-reloading jsconfig should automatically fast refresh content when path is added without error",
"jsconfig-path-reloading jsconfig should load with initial paths config correctly",
"jsconfig-path-reloading jsconfig should recover from module not found when paths is updated"
],
"failed": [],
"pending": [],
"flakey": [],
"runtimeError": false
},
"test/development/middleware-errors/index.test.ts": {
"passed": [
"middleware - development errors when middleware contains an unhandled rejection does not render the error",
"middleware - development errors when middleware contains an unhandled rejection logs the error correctly",
"middleware - development errors when middleware throws synchronously logs the error correctly",
"middleware - development errors when middleware throws synchronously renders the error correctly and recovers",
"middleware - development errors when running invalid dynamic code with eval logs the error correctly",
"middleware - development errors when running invalid dynamic code with eval renders the error correctly and recovers",
"middleware - development errors when there is a compilation error after boot logs the error correctly",
"middleware - development errors when there is a compilation error after boot renders the error correctly and recovers",
"middleware - development errors when there is a compilation error from boot logs the error correctly",
"middleware - development errors when there is a compilation error from boot renders the error correctly and recovers",
"middleware - development errors when there is an unhandled rejection while loading a dependency does not render the error",
"middleware - development errors when there is an unhandled rejection while loading a dependency logs the error correctly",
"middleware - development errors when there is an unhandled rejection while loading the module does not render the error",
"middleware - development errors when there is an unhandled rejection while loading the module logs the error correctly",
"middleware - development errors when throwing while loading the module logs the error correctly",
"middleware - development errors when throwing while loading the module renders the error correctly and recovers",
"middleware - development errors when middleware throws synchronously logs the error correctly",
"middleware - development errors when there is a compilation error after boot logs the error correctly",
"middleware - development errors when there is a compilation error from boot logs the error correctly"
"middleware - development errors when throwing while loading the module renders the error correctly and recovers"
],
"failed": [],
"pending": [],
......@@ -2149,17 +2147,16 @@
},
"test/development/tsconfig-path-reloading/index.test.ts": {
"passed": [
"tsconfig-path-reloading tsconfig added after starting dev should automatically fast refresh content when path is added without error",
"tsconfig-path-reloading tsconfig added after starting dev should load with initial paths config correctly",
"tsconfig-path-reloading tsconfig added after starting dev should recover from module not found when paths is updated",
"tsconfig-path-reloading tsconfig should automatically fast refresh content when path is added without error",
"tsconfig-path-reloading tsconfig should load with initial paths config correctly",
"tsconfig-path-reloading tsconfig should recover from module not found when paths is updated"
],
"failed": [],
"pending": [],
"flakey": [
"tsconfig-path-reloading tsconfig added after starting dev should automatically fast refresh content when path is added without error",
"tsconfig-path-reloading tsconfig added after starting dev should load with initial paths config correctly",
"tsconfig-path-reloading tsconfig should automatically fast refresh content when path is added without error"
],
"flakey": [],
"runtimeError": false
},
"test/development/typescript-auto-install/index.test.ts": {
......@@ -2415,10 +2412,10 @@
"runtimeError": false
},
"test/e2e/app-dir/app-compilation/index.test.ts": {
"passed": [],
"passed": ["app dir HMR should not cause error when removing loading.js"],
"failed": [],
"pending": [],
"flakey": ["app dir HMR should not cause error when removing loading.js"],
"flakey": [],
"runtimeError": false
},
"test/e2e/app-dir/app-config-crossorigin/index.test.ts": {
......@@ -2459,6 +2456,7 @@
"app dir - css css support multiple entries should only include the same style once in the flight data",
"app dir - css css support page extensions should include css imported in MDX pages",
"app dir - css css support server layouts should support css modules inside server layouts",
"app dir - css css support server layouts should support external css imports",
"app dir - css css support server pages should not contain pages css in app dir page",
"app dir - css css support server pages should support css modules inside server pages",
"app dir - css css support server pages should support global css inside server pages",
......@@ -2489,9 +2487,7 @@
"app dir - css css support multiple entries should only load chunks for the css module that is used by the specific entrypoint",
"app dir - css css support server layouts should support global css inside server layouts"
],
"flakey": [
"app dir - css css support server layouts should support external css imports"
],
"flakey": [],
"runtimeError": false
},
"test/e2e/app-dir/app-custom-cache-handler/index.test.ts": {
......@@ -3776,6 +3772,7 @@
"app dir - metadata basic should support title template",
"app dir - metadata basic should support verification tags",
"app dir - metadata basic should use parent layout title when no title is defined in page",
"app dir - metadata file based icons should handle updates to the file icon name and order",
"app dir - metadata file based icons should not render if image file is not specified",
"app dir - metadata file based icons should render icon and apple touch icon meta if their images are specified",
"app dir - metadata icons should merge icons from layout if no static icons files are specified",
......@@ -3791,26 +3788,24 @@
"app dir - metadata opengraph should pick up opengraph-image and twitter-image as static metadata files",
"app dir - metadata opengraph should support opengraph tags",
"app dir - metadata opengraph should support opengraph with article type",
"app dir - metadata react cache should have same title and page value on initial load",
"app dir - metadata react cache should have same title and page value when navigating",
"app dir - metadata should not crash from error thrown during preloading nested generateMetadata",
"app dir - metadata should not effect metadata images convention like files under pages directory",
"app dir - metadata static routes should have /favicon.ico as route",
"app dir - metadata static routes should have icons as route",
"app dir - metadata static routes should support root dir robots.txt",
"app dir - metadata static routes should support sitemap.xml under every routes",
"app dir - metadata static routes should support static manifest.webmanifest"
],
"failed": [],
"pending": [],
"flakey": [
"app dir - metadata file based icons should handle updates to the file icon name and order",
"app dir - metadata react cache should have same title and page value on initial load",
"app dir - metadata react cache should have same title and page value when navigating",
"app dir - metadata static routes should have icons as route",
"app dir - metadata static routes should support static manifest.webmanifest",
"app dir - metadata twitter should render twitter card summary when image is not present",
"app dir - metadata twitter should support default twitter app card",
"app dir - metadata twitter should support default twitter player card",
"app dir - metadata twitter should support twitter card summary_large_image when image present",
"app dir - metadata viewport should support dynamic viewport export"
],
"failed": [],
"pending": [],
"flakey": [],
"runtimeError": false
},
"test/e2e/app-dir/missing-suspense-with-csr-bailout/missing-suspense-with-csr-bailout.test.ts": {
......@@ -5110,6 +5105,8 @@
"passed": [
"basePath should 404 for public file without basePath",
"basePath should 404 when manually adding basePath with <Link>",
"basePath should 404 when manually adding basePath with router.push",
"basePath should 404 when manually adding basePath with router.replace",
"basePath should add header with basePath by default",
"basePath should add header without basePath when set to false",
"basePath should allow URL query strings on index without refresh",
......@@ -5175,10 +5172,7 @@
"basePath should navigate back to a non-basepath 404 that starts with basepath",
"basePath should navigate to nested index page with getStaticProps"
],
"flakey": [
"basePath should 404 when manually adding basePath with router.push",
"basePath should 404 when manually adding basePath with router.replace"
],
"flakey": [],
"runtimeError": false
},
"test/e2e/browserslist-extends/index.test.ts": {
......@@ -5264,15 +5258,14 @@
"test/e2e/conflicting-app-page-error/index.test.ts": {
"passed": [
"Conflict between app file and pages file should error again when there is new conflict",
"Conflict between app file and pages file should not show error overlay for non conflict pages under app or pages dir",
"Conflict between app file and pages file should show error overlay for /",
"Conflict between app file and pages file should show error overlay for /another",
"Conflict between app file and pages file should support hmr with conflicts"
],
"failed": [],
"pending": [],
"flakey": [
"Conflict between app file and pages file should not show error overlay for non conflict pages under app or pages dir"
],
"flakey": [],
"runtimeError": false
},
"test/e2e/custom-app-render/custom-app-render.test.ts": {
......@@ -6187,6 +6180,7 @@
"Middleware Rewrite should handle static rewrite from next.config.js correctly",
"Middleware Rewrite should hard navigate on 404 for data request",
"Middleware Rewrite should have correct query info for dynamic route after query hydration",
"Middleware Rewrite should have props for afterFiles rewrite to SSG page",
"Middleware Rewrite should not call middleware with shallow push",
"Middleware Rewrite should not have un-necessary data request on rewrite",
"Middleware Rewrite should not have unexpected errors",
......@@ -6210,9 +6204,7 @@
"pending": [
"Middleware Rewrite includes the locale in rewrites by default"
],
"flakey": [
"Middleware Rewrite should have props for afterFiles rewrite to SSG page"
],
"flakey": [],
"runtimeError": false
},
"test/e2e/middleware-shallow-link/index.test.ts": {
......@@ -7516,10 +7508,13 @@
"runtimeError": false
},
"test/integration/app-document-remove-hmr/test/index.test.js": {
"passed": ["_app removal HMR should HMR when _app is removed"],
"passed": [
"_app removal HMR should HMR when _app is removed",
"_app removal HMR should HMR when _document is removed"
],
"failed": [],
"pending": [],
"flakey": ["_app removal HMR should HMR when _document is removed"],
"flakey": [],
"runtimeError": false
},
"test/integration/app-document-style-fragment/test/index.test.js": {
......@@ -7534,6 +7529,8 @@
"test/integration/app-document/test/index.test.js": {
"passed": [
"Document and App Client side It should share module state with pages",
"Document and App Client side should detect the changes to pages/_app.js and display it",
"Document and App Client side should detect the changes to pages/_document.js and display it",
"Document and App Client side should keep state between page navigations",
"Document and App Rendering via HTTP _app It should share module state with pages",
"Document and App Rendering via HTTP _app It should show valid error when thrown in _app getInitialProps",
......@@ -7553,10 +7550,7 @@
],
"failed": [],
"pending": [],
"flakey": [
"Document and App Client side should detect the changes to pages/_app.js and display it",
"Document and App Client side should detect the changes to pages/_document.js and display it"
],
"flakey": [],
"runtimeError": false
},
"test/integration/app-dynamic-error/test/index.test.ts": {
......@@ -8511,16 +8505,17 @@
"runtimeError": false
},
"test/integration/custom-error/test/index.test.js": {
"passed": [],
"failed": [],
"pending": [],
"flakey": [
"passed": [
"Custom _error dev mode 1 should not warn with /_error and /404 when rendering error first",
"Custom _error dev mode 2 should not warn with /_error and /404",
"Custom _error dev mode 2 should warn on custom /_error without custom /404",
"Custom _error dev mode 2 should warn on custom /_error without custom /404"
],
"failed": [],
"pending": [
"Custom _error production mode renders custom _error successfully",
"Custom _error production mode should not contain /_error in build output"
],
"flakey": [],
"runtimeError": false
},
"test/integration/custom-page-extension/test/index.test.js": {
......@@ -9167,7 +9162,8 @@
"Dynamic Routing dev mode should show error when interpolating fails for href",
"Dynamic Routing dev mode should support long URLs for dynamic routes",
"Dynamic Routing dev mode should update dynamic values on mount",
"Dynamic Routing dev mode should update with a hash in the URL"
"Dynamic Routing dev mode should update with a hash in the URL",
"Dynamic Routing dev mode should work with HMR correctly"
],
"failed": [],
"pending": [
......@@ -9201,6 +9197,7 @@
"Dynamic Routing production mode should allow calling Router.push on mount successfully",
"Dynamic Routing production mode should handle only hash on dynamic route",
"Dynamic Routing production mode should handle only query on dynamic route",
"Dynamic Routing production mode should have correct cache entries on prefetch",
"Dynamic Routing production mode should navigate optional dynamic page",
"Dynamic Routing production mode should navigate optional dynamic page with value",
"Dynamic Routing production mode should navigate to a dynamic page successfully",
......@@ -9225,6 +9222,7 @@
"Dynamic Routing production mode should prioritize public files over dynamic route",
"Dynamic Routing production mode should render another normal route",
"Dynamic Routing production mode should render dynamic page",
"Dynamic Routing production mode should render dynamic route with query",
"Dynamic Routing production mode should render nested dynamic page",
"Dynamic Routing production mode should render nested optional dynamic page",
"Dynamic Routing production mode should render normal route",
......@@ -9244,11 +9242,7 @@
"Dynamic Routing production mode should update dynamic values on mount",
"Dynamic Routing production mode should update with a hash in the URL"
],
"flakey": [
"Dynamic Routing dev mode should work with HMR correctly",
"Dynamic Routing production mode should have correct cache entries on prefetch",
"Dynamic Routing production mode should render dynamic route with query"
],
"flakey": [],
"runtimeError": false
},
"test/integration/dynamic-routing/test/middleware.test.js": {
......@@ -9311,6 +9305,7 @@
"Dynamic Routing dev mode should render nested optional dynamic page",
"Dynamic Routing dev mode should render normal route",
"Dynamic Routing dev mode should render optional dynamic page",
"Dynamic Routing dev mode should resolve dynamic route href for page added later",
"Dynamic Routing dev mode should respond with bad request with invalid encoding",
"Dynamic Routing dev mode should scroll to a hash on client-side navigation",
"Dynamic Routing dev mode should scroll to a hash on mount",
......@@ -9377,6 +9372,7 @@
"Dynamic Routing production mode should not have placeholder query values for SSS",
"Dynamic Routing production mode should not preload buildManifest for non-auto export dynamic pages",
"Dynamic Routing production mode should output a pages-manifest correctly",
"Dynamic Routing production mode should output a routes-manifest correctly",
"Dynamic Routing production mode should pass params in getInitialProps during SSR",
"Dynamic Routing production mode should pass params in getInitialProps during client navigation",
"Dynamic Routing production mode should prioritize a non-dynamic page",
......@@ -9403,10 +9399,7 @@
"Dynamic Routing production mode should update dynamic values on mount",
"Dynamic Routing production mode should update with a hash in the URL"
],
"flakey": [
"Dynamic Routing dev mode should resolve dynamic route href for page added later",
"Dynamic Routing production mode should output a routes-manifest correctly"
],
"flakey": [],
"runtimeError": false
},
"test/integration/edge-runtime-configurable-guards/test/index.test.js": {
......@@ -12983,13 +12976,12 @@
"runtimeError": false
},
"test/integration/import-assertion/test/index.test.js": {
"passed": [],
"passed": ["import-assertion dev should handle json assertions"],
"failed": [],
"pending": [],
"flakey": [
"import-assertion dev should handle json assertions",
"pending": [
"production mode import-assertion prod should handle json assertions"
],
"flakey": [],
"runtimeError": false
},
"test/integration/index-index/test/index.test.js": {
......@@ -13750,21 +13742,22 @@
"runtimeError": false
},
"test/integration/next-image-legacy/unicode/test/index.test.ts": {
"passed": [],
"failed": [],
"pending": [],
"flakey": [
"passed": [
"Image Component Unicode Image URL dev mode should load external image with space",
"Image Component Unicode Image URL dev mode should load external unicode image",
"Image Component Unicode Image URL dev mode should load internal image with space",
"Image Component Unicode Image URL dev mode should load internal unicode image",
"Image Component Unicode Image URL dev mode should load static unicode image",
"Image Component Unicode Image URL dev mode should load static unicode image"
],
"failed": [],
"pending": [
"Image Component Unicode Image URL production mode should load external image with space",
"Image Component Unicode Image URL production mode should load external unicode image",
"Image Component Unicode Image URL production mode should load internal image with space",
"Image Component Unicode Image URL production mode should load internal unicode image",
"Image Component Unicode Image URL production mode should load static unicode image"
],
"flakey": [],
"runtimeError": false
},
"test/integration/next-image-legacy/unoptimized/test/index.test.ts": {
......@@ -14275,21 +14268,22 @@
"runtimeError": false
},
"test/integration/next-image-new/unicode/test/index.test.ts": {
"passed": [],
"failed": [],
"pending": [],
"flakey": [
"passed": [
"Image Component Unicode Image URL dev mode should load external image with space",
"Image Component Unicode Image URL dev mode should load external unicode image",
"Image Component Unicode Image URL dev mode should load internal image with space",
"Image Component Unicode Image URL dev mode should load internal unicode image",
"Image Component Unicode Image URL dev mode should load static unicode image",
"Image Component Unicode Image URL dev mode should load static unicode image"
],
"failed": [],
"pending": [
"Image Component Unicode Image URL production mode should load external image with space",
"Image Component Unicode Image URL production mode should load external unicode image",
"Image Component Unicode Image URL production mode should load internal image with space",
"Image Component Unicode Image URL production mode should load internal unicode image",
"Image Component Unicode Image URL production mode should load static unicode image"
],
"flakey": [],
"runtimeError": false
},
"test/integration/next-image-new/unoptimized/test/index.test.ts": {
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment