hotfix: hardcoded skip turbopack tests to manifest (#64515)

cc @shuding 

CI run failed after #63053 on turbo production, which had not yet been
targeted for turbo.

x-ref: #63103

---------

Co-authored-by: JJ Kasper <22380829+ijjk@users.noreply.github.com>
Co-authored-by: Leah <8845940+ForsakenHarmony@users.noreply.github.com>
Co-authored-by: Jiachi Liu <inbox@huozhi.im>
This commit is contained in:
Jiwon Choi 2024-04-16 04:46:42 +09:00 committed by GitHub
parent 6178693b39
commit 81450de6af
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 27 additions and 11 deletions

View file

@ -1,18 +1,13 @@
import { nextTestSetup } from 'e2e-utils'
describe('root-not-found-missing-root-layout', () => {
const { next, isTurbopack } = nextTestSetup({
const { next } = nextTestSetup({
files: __dirname,
})
// Skip test for turbo dev for now since generating a missing root layout is not supported yet.
// See https://github.com/vercel/next.js/pull/63053#issuecomment-1987101666
;(isTurbopack ? it.skip : it)(
'should not conflict with generated layout on dev server',
async () => {
const browser = await next.browser('/')
// eslint-disable-next-line jest/no-standalone-expect
expect(await browser.elementByCss('p').text()).toBe('not found')
}
)
it('should not conflict with generated layout on dev server', async () => {
const browser = await next.browser('/')
// eslint-disable-next-line jest/no-standalone-expect
expect(await browser.elementByCss('p').text()).toBe('not found')
})
})

View file

@ -2164,6 +2164,18 @@
"flakey": [],
"runtimeError": false
},
"test/e2e/app-dir/not-found/multi-root-layout/index.test.ts": {
"passed": [
"not-found-multi-root-layout should render main not-found",
"not-found-multi-root-layout should render sub not-found"
],
"failed": [
"not-found-multi-root-layout should render root not-found for uncaught routes"
],
"pending": [],
"flakey": [],
"runtimeError": false
},
"test/e2e/app-dir/pages-to-app-routing/pages-to-app-routing.test.ts": {
"passed": ["pages-to-app-routing should work using browser"],
"failed": [],

View file

@ -1479,6 +1479,15 @@
"flakey": [],
"runtimeError": false
},
"test/development/app-dir/root-not-found-missing-root-layout/index.test.ts": {
"passed": [],
"failed": [
"root-not-found-missing-root-layout should not conflict with generated layout on dev server"
],
"pending": [],
"flakey": [],
"runtimeError": false
},
"test/development/app-dir/strict-mode-enabled-by-default/strict-mode-enabled-by-default.test.ts": {
"passed": ["Strict Mode enabled by default should work using browser"],
"failed": [],