From 0106e9d577d76ea96096460e24b6d2b5111724f5 Mon Sep 17 00:00:00 2001 From: Tobias Koppers Date: Thu, 25 May 2023 15:37:28 +0200 Subject: [PATCH] remove allowlist, only use denylist, enable newly passing tests (#50325) ### What? * remove allowlist * add script to print enabled test cases * enable test suites that turbopack is newly passing --- .github/workflows/build_test_deploy.yml | 4 +- .../next-dev-tests/print-enabled-tests.js | 30 ++ .../next-dev-tests/sync-tests-manifest.js | 65 ---- .../crates/next-dev-tests/tests-manifest.js | 282 ------------------ 4 files changed, 32 insertions(+), 349 deletions(-) create mode 100644 packages/next-swc/crates/next-dev-tests/print-enabled-tests.js delete mode 100644 packages/next-swc/crates/next-dev-tests/sync-tests-manifest.js diff --git a/.github/workflows/build_test_deploy.yml b/.github/workflows/build_test_deploy.yml index e61a6546199a..43fc096e5a5e 100644 --- a/.github/workflows/build_test_deploy.yml +++ b/.github/workflows/build_test_deploy.yml @@ -932,7 +932,7 @@ jobs: strategy: fail-fast: false matrix: - group: [1, 2, 3, 4, 5] + group: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10] steps: - run: echo "${{needs.build.outputs.docsChange}}" @@ -954,7 +954,7 @@ jobs: name: next-swc-test-binary path: packages/next-swc/native - - run: docker run --rm -v $(pwd):/work mcr.microsoft.com/playwright:v1.28.1-jammy /bin/bash -c "cd /work && NODE_VERSION=${{ env.NODE_LTS_VERSION }} ./scripts/setup-node.sh && npm i -g pnpm@${PNPM_VERSION} > /dev/null && NEXT_EXTERNAL_TESTS_FILTERS=${NEXT_EXTERNAL_TESTS_FILTERS} __INTERNAL_NEXT_DEV_TEST_TURBO_DEV=TRUE __INTERNAL_CUSTOM_TURBOPACK_BINDINGS=${NEXT_BINDINGS_BIN} __INTERNAL_NEXT_DEV_TEST_TURBO_GLOB_MATCH=${NEXT_DEV_TEST_GLOB} NEXT_E2E_TEST_TIMEOUT=240000 NEXT_TEST_JOB=1 TEST_TIMINGS_TOKEN=${{ secrets.TEST_TIMINGS_TOKEN }} xvfb-run node run-tests.js --timings -g ${{ matrix.group }}/5 >> /proc/1/fd/1" + - run: docker run --rm -v $(pwd):/work mcr.microsoft.com/playwright:v1.28.1-jammy /bin/bash -c "cd /work && NODE_VERSION=${{ env.NODE_LTS_VERSION }} ./scripts/setup-node.sh && npm i -g pnpm@${PNPM_VERSION} > /dev/null && NEXT_EXTERNAL_TESTS_FILTERS=${NEXT_EXTERNAL_TESTS_FILTERS} __INTERNAL_NEXT_DEV_TEST_TURBO_DEV=TRUE __INTERNAL_CUSTOM_TURBOPACK_BINDINGS=${NEXT_BINDINGS_BIN} __INTERNAL_NEXT_DEV_TEST_TURBO_GLOB_MATCH=${NEXT_DEV_TEST_GLOB} NEXT_E2E_TEST_TIMEOUT=240000 NEXT_TEST_JOB=1 TEST_TIMINGS_TOKEN=${{ secrets.TEST_TIMINGS_TOKEN }} xvfb-run node run-tests.js --timings -g ${{ matrix.group }}/10 >> /proc/1/fd/1" if: ${{needs.build.outputs.docsChange == 'nope'}} - name: Upload test trace diff --git a/packages/next-swc/crates/next-dev-tests/print-enabled-tests.js b/packages/next-swc/crates/next-dev-tests/print-enabled-tests.js new file mode 100644 index 000000000000..f122001a6e4f --- /dev/null +++ b/packages/next-swc/crates/next-dev-tests/print-enabled-tests.js @@ -0,0 +1,30 @@ +/// A script that prints a list of test cases that are enabled + +const _glob = require('glob') +const { promisify } = require('util') +const glob = promisify(_glob) +const path = require('path') + +const { disabledTests } = require('./tests-manifest.js') + +const main = async () => { + // Collect all test files + const testFiles = new Set( + ( + await glob('**/*.test.{js,ts,tsx}', { + nodir: true, + cwd: path.resolve(__dirname, '../../../../test'), + }) + ).map((file) => `test/${file}`) + ) + + for (const testFile of disabledTests) { + testFiles.delete(testFile) + } + + for (const testFile of testFiles) { + console.log(testFile) + } +} + +main().catch((e) => console.error(e)) diff --git a/packages/next-swc/crates/next-dev-tests/sync-tests-manifest.js b/packages/next-swc/crates/next-dev-tests/sync-tests-manifest.js deleted file mode 100644 index d6345e7db455..000000000000 --- a/packages/next-swc/crates/next-dev-tests/sync-tests-manifest.js +++ /dev/null @@ -1,65 +0,0 @@ -/// A script to remove / add next.js tests into the lists if there are any changes. - -const fs = require('fs') -const _glob = require('glob') -const { promisify } = require('util') -const glob = promisify(_glob) -const path = require('path') - -const generateManifest = (enabledTests, disabledTests) => ` -// Tests that are currently enabled with Turbopack in CI. -// This list is not actively used, more of high level pictures of what tests are enabled. -const enabledTests = ${enabledTests} - -// Tests that are currently disabled with Turbopack in CI. -// Any tests not listed in here are assumed to be enabled. -const disabledTests = ${disabledTests} - -module.exports = { - enabledTests, - disabledTests, -}` - -const main = async () => { - // Read existing manifests - let enabledTests = [] - let disabledTests = [] - - const manifestPath = path.resolve(__dirname, 'tests-manifest.js') - if (fs.existsSync(manifestPath)) { - const manifest = require(manifestPath) - enabledTests = manifest.enabledTests - disabledTests = manifest.disabledTests - } else { - throw new Error('Manifest should exists') - } - - // Collect all test files - const testFiles = ( - await glob('**/*.test.{js,ts,tsx}', { - nodir: true, - cwd: path.resolve(__dirname, '../../../../test'), - }) - ).map((file) => `test/${file}`) - - // Naively update enabled / disabled tests to the latest. - // This is not the most efficient way to do this, but it's good enough for now. - - // First, remove enabled tests that are no longer in the test directory. - enabledTests = enabledTests.filter((testFile) => testFiles.includes(testFile)) - // Anything else are disabled. - disabledTests = testFiles.filter( - (testFile) => !enabledTests.includes(testFile) - ) - - fs.writeFileSync( - manifestPath, - generateManifest( - JSON.stringify(enabledTests, null, 2), - JSON.stringify(disabledTests, null, 2) - ), - 'utf-8' - ) -} - -main().catch((e) => console.error(e)) diff --git a/packages/next-swc/crates/next-dev-tests/tests-manifest.js b/packages/next-swc/crates/next-dev-tests/tests-manifest.js index 0b0c1a5c1cf0..122787d87423 100644 --- a/packages/next-swc/crates/next-dev-tests/tests-manifest.js +++ b/packages/next-swc/crates/next-dev-tests/tests-manifest.js @@ -1,270 +1,3 @@ -// Tests that are currently enabled with Turbopack in CI. -// This list is not actively used, more of high level pictures of what tests are enabled. -const enabledTests = [ - 'test/development/acceptance-app/ReactRefreshLogBoxMisc.test.ts', - 'test/development/acceptance-app/ReactRefreshRequire.test.ts', - 'test/development/acceptance-app/dynamic-error.test.ts', - 'test/development/acceptance/ReactRefresh.test.ts', - 'test/development/acceptance/ReactRefreshLogBox-scss.test.ts', - 'test/development/acceptance/ReactRefreshLogBoxMisc.test.ts', - 'test/development/api-cors-with-rewrite/index.test.ts', - 'test/development/app-dir/multiple-compiles-single-route/multiple-compiles-single-route.test.ts', - 'test/development/app-hmr/hmr.test.ts', - 'test/development/basic/define-class-fields.test.ts', - 'test/development/basic/emotion-swc.test.ts', - 'test/development/basic/legacy-decorators.test.ts', - 'test/development/basic/styled-components-disabled.test.ts', - 'test/development/basic/tailwind-jit.test.ts', - 'test/development/basic/theme-ui.test.ts', - 'test/development/dotenv-default-expansion/index.test.ts', - 'test/development/jsconfig-path-reloading/index.test.ts', - 'test/development/middleware-warnings/index.test.ts', - 'test/development/project-directory-with-styled-jsx-suffix/index.test.ts', - 'test/development/repeated-dev-edits/repeated-dev-edits.test.ts', - 'test/development/tsconfig-path-reloading/index.test.ts', - 'test/development/typescript-auto-install/index.test.ts', - 'test/e2e/app-dir/_allow-underscored-root-directory/_allow-underscored-root-directory.test.ts', - 'test/e2e/app-dir/actions/app-action-export.test.ts', - 'test/e2e/app-dir/app-alias/app-alias.test.ts', - 'test/e2e/app-dir/app-client-cache/client-cache.test.ts', - 'test/e2e/app-dir/app-css-pageextensions/index.test.ts', - 'test/e2e/app-dir/app-external/app-external.test.ts', - 'test/e2e/app-dir/app-prefetch/prefetching.test.ts', - 'test/e2e/app-dir/app-validation/validation.test.ts', - 'test/e2e/app-dir/app/standalone.test.ts', - 'test/e2e/app-dir/app/useReportWebVitals.test.ts', - 'test/e2e/app-dir/app/vercel-speed-insights.test.ts', - 'test/e2e/app-dir/asset-prefix/asset-prefix.test.ts', - 'test/e2e/app-dir/async-component-preload/async-component-preload.test.ts', - 'test/e2e/app-dir/autoscroll-with-css-modules/index.test.ts', - 'test/e2e/app-dir/back-button-download-bug/back-button-download-bug.test.ts', - 'test/e2e/app-dir/dynamic/dynamic.test.ts', - 'test/e2e/app-dir/global-error/global-error.test.ts', - 'test/e2e/app-dir/import/import.test.ts', - 'test/e2e/app-dir/interpolability-with-pages/navigation.test.ts', - 'test/e2e/app-dir/layout-params/layout-params.test.ts', - 'test/e2e/app-dir/metadata-missing-metadata-base/index.test.ts', - 'test/e2e/app-dir/metadata-suspense/index.test.ts', - 'test/e2e/app-dir/navigation/navigation.test.ts', - 'test/e2e/app-dir/not-found/not-found.test.ts', - 'test/e2e/app-dir/rewrites-redirects/rewrites-redirects.test.ts', - 'test/e2e/app-dir/route-page-manifest-bug/route-page-manifest-bug.test.ts', - 'test/e2e/app-dir/router-autoscroll/router-autoscroll.test.ts', - 'test/e2e/app-dir/router-stuck-dynamic-static-segment/router-stuck-dynamic-static-segment.test.ts', - 'test/e2e/app-dir/rsc-basic/rsc-basic.test.ts', - 'test/e2e/app-dir/search-params-react-key/layout-params.test.ts', - 'test/e2e/app-dir/searchparams-static-bailout/searchparams-static-bailout.test.ts', - 'test/e2e/app-dir/similar-pages-paths/similar-pages-paths.test.ts', - 'test/e2e/app-dir/test-template/{{ toFileName name }}/{{ toFileName name }}.test.ts', - 'test/e2e/app-dir/underscore-ignore-app-paths/underscore-ignore-app-paths.test.ts', - 'test/e2e/app-dir/use-params/use-params.test.ts', - 'test/e2e/app-dir/use-selected-layout-segment-s/use-selected-layout-segment-s.test.ts', - 'test/e2e/browserslist-extends/index.test.ts', - 'test/e2e/config-promise-export/async-function.test.ts', - 'test/e2e/config-promise-export/promise.test.ts', - 'test/e2e/disable-js-preload/test/index.test.js', - 'test/e2e/dynamic-route-interpolation/index.test.ts', - 'test/e2e/edge-api-endpoints-can-receive-body/index.test.ts', - 'test/e2e/edge-async-local-storage/index.test.ts', - 'test/e2e/edge-compiler-module-exports-preference/index.test.ts', - 'test/e2e/edge-runtime-uses-edge-light-import-specifier-for-packages/edge-runtime-uses-edge-light-import-specifier-for-packages.test.ts', - 'test/e2e/handle-non-hoisted-swc-helpers/index.test.ts', - 'test/e2e/ignore-invalid-popstateevent/without-i18n.test.ts', - 'test/e2e/link-with-api-rewrite/index.test.ts', - 'test/e2e/middleware-base-path/test/index.test.ts', - 'test/e2e/middleware-general/test/index.test.ts', - 'test/e2e/middleware-responses/test/index.test.ts', - 'test/e2e/middleware-shallow-link/index.test.ts', - 'test/e2e/multi-zone/multi-zone.test.ts', - 'test/e2e/new-link-behavior/child-a-tag-error.test.ts', - 'test/e2e/new-link-behavior/index.test.ts', - 'test/e2e/new-link-behavior/material-ui.test.ts', - 'test/e2e/new-link-behavior/stitches.test.ts', - 'test/e2e/new-link-behavior/typescript.test.ts', - 'test/e2e/next-image-forward-ref/index.test.ts', - 'test/e2e/no-eslint-warn-with-no-eslint-config/index.test.ts', - 'test/e2e/nonce-head-manager/index.test.ts', - 'test/e2e/optimized-loading/test/index.test.ts', - 'test/e2e/postcss-config-cjs/index.test.ts', - 'test/e2e/prerender-native-module.test.ts', - 'test/e2e/proxy-request-with-middleware/test/index.test.ts', - 'test/e2e/repeated-forward-slashes-error/repeated-forward-slashes-error.test.ts', - 'test/e2e/ssr-react-context/index.test.ts', - 'test/e2e/styled-jsx/index.test.ts', - 'test/e2e/test-utils-tests/basic/basic.test.ts', - 'test/e2e/trailingslash-with-rewrite/index.test.ts', - 'test/e2e/transpile-packages/index.test.ts', - 'test/e2e/type-module-interop/index.test.ts', - 'test/e2e/undici-fetch/index.test.ts', - 'test/e2e/yarn-pnp/test/with-eslint.test.ts', - 'test/e2e/yarn-pnp/test/with-mdx.test.ts', - 'test/e2e/yarn-pnp/test/with-next-sass.test.ts', - 'test/integration/404-page-app/test/index.test.js', - 'test/integration/404-page-custom-error/test/index.test.js', - 'test/integration/404-page-ssg/test/index.test.js', - 'test/integration/absolute-assetprefix/test/index.test.js', - 'test/integration/amp-export-validation/test/index.test.js', - 'test/integration/amphtml-custom-optimizer/test/index.test.js', - 'test/integration/amphtml-custom-validator/test/index.test.js', - 'test/integration/amphtml-fragment-style/test/index.test.js', - 'test/integration/api-body-parser/test/index.test.js', - 'test/integration/api-catch-all/test/index.test.js', - 'test/integration/app-aspath/test/index.test.js', - 'test/integration/app-dir-export/test/config.test.ts', - 'test/integration/app-dir-export/test/dynamicapiroute-prod.test.ts', - 'test/integration/app-dir-export/test/dynamicpage-prod.test.ts', - 'test/integration/app-dir-export/test/start.test.ts', - 'test/integration/app-dir-export/test/trailing-slash-start.test.ts', - 'test/integration/app-document-style-fragment/test/index.test.js', - 'test/integration/app-dynamic-error/test/index.test.ts', - 'test/integration/app-functional/test/index.test.js', - 'test/integration/app-tree/test/index.test.js', - 'test/integration/app-types/app-types.test.js', - // TODO: should babel be tested with turbopack? - 'test/integration/babel-custom/test/index.test.js', - 'test/integration/bigint/test/index.test.js', - 'test/integration/catches-missing-getStaticProps/test/index.test.js', - 'test/integration/chunking/test/index.test.js', - 'test/integration/client-404/test/index.test.js', - 'test/integration/client-navigation-a11y/test/index.test.js', - 'test/integration/client-shallow-routing/test/index.test.js', - 'test/integration/config-experimental-warning/test/index.test.js', - 'test/integration/config-promise-error/test/index.test.js', - 'test/integration/config-resolve-alias/test/index.test.js', - 'test/integration/css-customization/test/index.test.js', - 'test/integration/css-features/test/index.test.js', - 'test/integration/css-minify/test/index.test.js', - 'test/integration/custom-error-page-exception/test/index.test.js', - 'test/integration/dedupes-scripts/test/index.test.js', - 'test/integration/development-hmr-refresh/test/index.test.js', - 'test/integration/disable-js/test/index.test.js', - 'test/integration/document-file-dependencies/test/index.test.js', - 'test/integration/document-head-warnings/test/index.test.js', - 'test/integration/duplicate-pages/test/index.test.js', - 'test/integration/dynamic-require/test/index.test.js', - 'test/integration/dynamic-route-rename/test/index.test.js', - 'test/integration/empty-object-getInitialProps/test/index.test.js', - 'test/integration/error-in-error/test/index.test.js', - 'test/integration/error-load-fail/test/index.test.js', - 'test/integration/error-plugin-stack-overflow/test/index.test.js', - 'test/integration/errors-on-output-to-public/test/index.test.js', - 'test/integration/errors-on-output-to-static/test/index.test.js', - 'test/integration/eslint/test/index.test.js', - 'test/integration/externalize-next-server/test/index.test.js', - 'test/integration/externals-esm-loose/test/index.test.js', - 'test/integration/externals-esm/test/index.test.js', - 'test/integration/fallback-modules/test/index.test.js', - 'test/integration/fetch-polyfill-ky-universal/test/index.test.js', - 'test/integration/fetch-polyfill/test/index.test.js', - 'test/integration/filesystempublicroutes/test/index.test.js', - 'test/integration/firebase-grpc/test/index.test.js', - 'test/integration/font-optimization/test/index.test.js', - 'test/integration/future/test/index.test.js', - 'test/integration/getserversideprops-export-error/test/index.test.js', - 'test/integration/gip-identifier/test/index.test.js', - 'test/integration/gsp-build-errors/test/index.test.js', - 'test/integration/gsp-extension/test/index.test.js', - 'test/integration/gssp-pageProps-merge/test/index.test.js', - 'test/integration/handles-export-errors/test/index.test.js', - 'test/integration/hashbang/test/index.test.js', - 'test/integration/hydrate-then-render/test/index.test.js', - 'test/integration/hydration/test/index.test.js', - 'test/integration/image-generation/test/index.test.ts', - 'test/integration/image-optimizer/test/old-sharp.test.ts', - 'test/integration/index-index/test/index.test.js', - 'test/integration/initial-ref/test/index.test.js', - 'test/integration/invalid-config-values/test/index.test.js', - 'test/integration/invalid-document-image-import/test/index.test.js', - 'test/integration/invalid-href/test/index.test.js', - 'test/integration/invalid-page-automatic-static-optimization/test/index.test.js', - 'test/integration/invalid-revalidate-values/test/index.test.js', - 'test/integration/invalid-server-options/test/index.test.js', - 'test/integration/jsconfig-empty/test/index.test.js', - 'test/integration/jsconfig/test/index.test.js', - 'test/integration/json-serialize-original-error/test/index.test.js', - 'test/integration/legacy-ssg-methods-error/test/index.test.js', - 'test/integration/link-ref/test/index.test.js', - 'test/integration/link-with-multiple-child/test/index.test.js', - 'test/integration/link-without-router/test/index.test.js', - 'test/integration/middleware-overrides-node.js-api/test/index.test.ts', - 'test/integration/middleware-prefetch/tests/index.test.js', - 'test/integration/middleware-src/test/index.test.js', - 'test/integration/missing-document-component-error/test/index.test.js', - 'test/integration/mixed-ssg-serverprops-error/test/index.test.js', - 'test/integration/next-dynamic/test/index.test.js', - 'test/integration/next-image-legacy/basic/test/index.test.ts', - 'test/integration/next-image-legacy/custom-resolver/test/index.test.ts', - 'test/integration/next-image-legacy/default/test/static.test.ts', - 'test/integration/next-image-legacy/no-intersection-observer-fallback/test/index.test.ts', - 'test/integration/next-image-legacy/noscript/test/index.test.ts', - 'test/integration/next-image-legacy/react-virtualized/test/index.test.ts', - 'test/integration/next-image-new/react-virtualized/test/index.test.ts', - 'test/integration/no-op-export/test/index.test.js', - 'test/integration/no-page-props/test/index.test.js', - 'test/integration/non-next-dist-exclude/test/index.test.js', - 'test/integration/non-standard-node-env-warning/test/index.test.js', - 'test/integration/not-found-revalidate/test/index.test.js', - 'test/integration/numeric-sep/test/index.test.js', - 'test/integration/ondemand/test/index.test.js', - 'test/integration/optional-chaining-nullish-coalescing/test/index.test.js', - 'test/integration/page-config/test/index.test.js', - 'test/integration/page-extensions/test/index.test.js', - 'test/integration/plugin-mdx-rs/test/index.test.js', - 'test/integration/polyfilling-minimal/test/index.test.js', - 'test/integration/polyfills/test/index.test.js', - 'test/integration/port-env-var/test/index.test.js', - 'test/integration/preload-viewport/test/index.test.js', - 'test/integration/prerender-invalid-catchall-params/test/index.test.js', - 'test/integration/prerender-invalid-paths/test/index.test.js', - 'test/integration/prerender-legacy/test/index.test.js', - 'test/integration/prerender-no-revalidate/test/index.test.js', - 'test/integration/prerender-revalidate/test/index.test.js', - 'test/integration/production-browser-sourcemaps/test/index.test.js', - 'test/integration/production-build-dir/test/index.test.js', - 'test/integration/production-config/test/index.test.js', - 'test/integration/production-nav/test/index.test.js', - 'test/integration/production-start-no-build/test/index.test.js', - 'test/integration/production/test/index.test.js', - 'test/integration/query-with-encoding/test/index.test.js', - 'test/integration/re-export-all-exports-from-page-disallowed/test/index.test.js', - 'test/integration/react-profiling-mode/test/index.test.js', - 'test/integration/react-streaming/test/index.test.js', - 'test/integration/read-only-source-hmr/test/index.test.js', - 'test/integration/relay-analytics-disabled/test/index.test.js', - 'test/integration/relay-analytics/test/index.test.js', - 'test/integration/render-error-on-module-error/test/index.test.js', - 'test/integration/render-error-on-top-level-error/with-get-initial-props/test/index.test.js', - 'test/integration/render-error-on-top-level-error/without-get-initial-props/test/index.test.js', - 'test/integration/required-server-files-ssr-404/test/index.test.js', - 'test/integration/revalidate-as-path/test/index.test.js', - 'test/integration/rewrites-destination-query-array/test/index.test.js', - 'test/integration/root-optional-revalidate/test/index.test.js', - 'test/integration/route-indexes/test/index.test.js', - 'test/integration/route-load-cancel-css/test/index.test.js', - 'test/integration/route-load-cancel/test/index.test.js', - 'test/integration/router-hash-navigation/test/index.test.js', - 'test/integration/router-is-ready-app-gip/test/index.test.js', - 'test/integration/router-is-ready/test/index.test.js', - 'test/integration/router-prefetch/test/index.test.js', - 'test/integration/scss/test/group-2.test.js', - 'test/integration/src-dir-support-double-dir/test/index.test.js', - 'test/integration/src-dir-support/test/index.test.js', - 'test/integration/ssg-data-404/test/index.test.js', - 'test/integration/ssg-dynamic-routes-404-page/test/index.test.js', - 'test/integration/static-404/test/index.test.js', - 'test/integration/static-page-name/test/index.test.js', - 'test/integration/styled-jsx-plugin/test/index.test.js', - 'test/integration/tsconfig-verifier/test/index.test.js', - 'test/integration/turbotrace-with-webpack-worker/test/index.test.js', - 'test/integration/typeof-window-replace/test/index.test.js', - 'test/integration/typescript-baseurl/test/index.test.js', - 'test/integration/typescript-custom-tsconfig/test/index.test.js', - 'test/integration/typescript-filtered-files/test/index.test.js', - 'test/integration/typescript-ignore-errors/test/index.test.js', - 'test/integration/webpack-config-extensionalias/test/index.test.js', - 'test/integration/webpack-config-mainjs/test/index.test.js', -] - // Tests that are currently disabled with Turbopack in CI. // Any tests not listed in here are assumed to be enabled. const disabledTests = [ @@ -485,9 +218,6 @@ const disabledTests = [ 'test/integration/config/test/index.test.js', 'test/integration/conflicting-app-page-error/test/index.test.js', 'test/integration/conflicting-public-file-page/test/index.test.js', - 'test/integration/css-client-nav/test/index.test.js', - 'test/integration/css-modules/test/index.test.js', - 'test/integration/css/test/group-1.test.js', 'test/integration/css/test/group-2.test.js', 'test/integration/custom-error/test/index.test.js', 'test/integration/custom-page-extension/test/index.test.js', @@ -542,7 +272,6 @@ const disabledTests = [ 'test/integration/link-with-encoding/test/index.test.js', 'test/integration/middleware-dev-errors/test/index.test.js', 'test/integration/middleware-dev-update/test/index.test.js', - 'test/integration/next-dynamic-css/test/index.test.js', 'test/integration/next-dynamic-lazy-compilation/test/index.test.js', 'test/integration/next-image-legacy/asset-prefix/test/index.test.ts', 'test/integration/next-image-legacy/base-path/test/index.test.ts', @@ -553,7 +282,6 @@ const disabledTests = [ 'test/integration/next-image-legacy/trailing-slash/test/index.test.ts', 'test/integration/next-image-legacy/typescript/test/index.test.ts', 'test/integration/next-image-legacy/unicode/test/index.test.ts', - 'test/integration/next-image-legacy/unoptimized/test/index.test.ts', 'test/integration/next-image-new/app-dir/test/index.test.ts', 'test/integration/next-image-new/app-dir/test/static.test.ts', 'test/integration/next-image-new/asset-prefix/test/index.test.js', @@ -568,47 +296,38 @@ const disabledTests = [ 'test/integration/next-image-new/loader-config-edge-runtime/test/index.test.ts', 'test/integration/next-image-new/loader-config/test/index.test.ts', 'test/integration/next-image-new/svgo-webpack/test/index.test.ts', - 'test/integration/next-image-new/trailing-slash/test/index.test.ts', 'test/integration/next-image-new/typescript/test/index.test.ts', 'test/integration/next-image-new/unicode/test/index.test.ts', - 'test/integration/next-image-new/unoptimized/test/index.test.ts', 'test/integration/no-duplicate-compile-error/test/index.test.js', 'test/integration/no-override-next-props/test/index.test.js', 'test/integration/node-fetch-keep-alive/test/index.test.js', 'test/integration/nullish-config/test/index.test.js', 'test/integration/prerender-fallback-encoding/test/index.test.js', 'test/integration/prerender-preview/test/index.test.js', - 'test/integration/prerender/test/index.test.js', 'test/integration/preview-fallback/test/index.test.js', 'test/integration/process-env-stub/test/index.test.js', 'test/integration/project-dir-delete/index.test.ts', 'test/integration/react-18/test/index.test.js', 'test/integration/relay-graphql-swc-multi-project/test/index.test.js', - 'test/integration/relay-graphql-swc-single-project/test/index.test.js', 'test/integration/repeated-slashes/test/index.test.js', 'test/integration/rewrite-with-browser-history/test/index.test.js', 'test/integration/rewrites-client-resolving/test/index.test.js', 'test/integration/rewrites-has-condition/test/index.test.js', 'test/integration/rewrites-manual-href-as/test/index.test.js', 'test/integration/route-index/test/index.test.js', - 'test/integration/router-rerender/test/index.test.js', 'test/integration/script-loader/test/index.test.js', 'test/integration/scroll-back-restoration/test/index.test.js', 'test/integration/scroll-forward-restoration/test/index.test.js', - 'test/integration/scss-modules/test/index.test.js', - 'test/integration/scss/test/group-1.test.js', 'test/integration/server-asset-modules/test/index.test.js', 'test/integration/server-side-dev-errors/test/index.test.js', 'test/integration/telemetry/test/config.test.js', 'test/integration/telemetry/test/index.test.js', 'test/integration/telemetry/test/page-features.test.js', 'test/integration/trailing-slash-dist/test/index.test.js', - 'test/integration/trailing-slashes-href-resolving/test/index.test.js', 'test/integration/trailing-slashes-rewrite/test/index.test.js', 'test/integration/trailing-slashes/test/index.test.js', 'test/integration/turbopack-unsupported-log/index.test.ts', 'test/integration/typescript-app-type-declarations/test/index.test.js', - 'test/integration/typescript-external-dir/project/test/index.test.js', 'test/integration/typescript-hmr/test/index.test.js', 'test/integration/typescript-only-remove-type-imports/test/index.test.js', 'test/integration/typescript-paths/test/index.test.js', @@ -751,6 +470,5 @@ const disabledTests = [ ] module.exports = { - enabledTests, disabledTests, }