Unverified Commit 89c5fdf1 authored by Tobias Koppers's avatar Tobias Koppers Committed by GitHub

Turbopack: update test manifest (#56026)

Update from daily test run

also enabled a lot more tests

marked some tests flakey

Closes WEB-1658
parent ed38f03e
......@@ -21,21 +21,35 @@ const INITIALIZING_TEST_CASES = [
]
const SKIPPED_TEST_SUITES = {
'test/integration/router-rerender/test/index.test.js': [],
'test/e2e/basepath.test.ts': [],
'test/development/acceptance-app/ReactRefreshRequire.test.ts': [],
'test/integration/dynamic-routing/test/middleware.test.js': [],
'test/integration/css/test/css-modules.test.js': [],
'test/development/acceptance/ReactRefreshRequire.test.ts': [],
'test/integration/custom-routes/test/index.test.js': [],
'test/integration/absolute-assetprefix/test/index.test.js': [],
'test/e2e/middleware-rewrites/test/index.test.ts': [],
'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/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/css/test/css-modules.test.js': [
'CSS Modules Composes Ordering Development Mode should have correct color on index page (on nav from other)',
],
'test/development/acceptance/ReactRefreshRequire.test.ts': [
'ReactRefreshRequire re-runs accepted modules',
'ReactRefreshRequire propagates a hot update to closest accepted module',
],
'test/e2e/middleware-rewrites/test/index.test.ts': [
'Middleware Rewrite should have props for afterFiles rewrite to SSG page',
],
'test/integration/dynamic-routing/test/index.test.js': [
'Dynamic Routing production mode should have correct cache entries on prefetch',
'Dynamic Routing production mode should render dynamic route with query',
],
'test/development/acceptance-app/ReactRefreshLogBox-builtins.test.ts': [
'ReactRefreshLogBox app turbo Module not found missing global CSS',
],
'test/development/acceptance-app/ReactRefreshRegression.test.ts': [
'ReactRefreshRegression app can fast refresh a page with dynamic rendering',
'ReactRefreshRegression app can fast refresh a page with config',
],
}
async function updatePassingTests() {
......@@ -85,6 +99,7 @@ async function updatePassingTests() {
for (const info of Object.values(passing)) {
info.failed = [...new Set(info.failed)].sort()
info.pending = [...new Set(info.pending)].sort()
info.flakey = [...new Set(info.flakey)].sort()
info.passed = [
...new Set(info.passed.filter((name) => !info.failed.includes(name))),
].sort()
......@@ -117,6 +132,11 @@ async function updatePassingTests() {
newData.failed = newData.failed
.filter((name) => !shouldPass.has(name))
.sort()
if (!oldData.runtimeError && newData.runtimeError) {
console.log(`${file} has a runtime error that is shouldn't have`)
newData.runtimeError = false
}
}
}
......
This source diff could not be displayed because it is too large. You can view the blob instead.
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