Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 998cf5e

Browse files
committedMar 4, 2025·
fix ppr test
1 parent 4b5000b commit 998cf5e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
 

Diff for: ‎test/e2e/app-dir/parallel-routes-not-found/parallel-routes-not-found.test.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { nextTestSetup } from 'e2e-utils'
33
const isPPR = process.env.__NEXT_EXPERIMENTAL_PPR === 'true'
44

55
describe('parallel-routes-and-interception', () => {
6-
const { next, skipped } = nextTestSetup({
6+
const { next, isNextDev, skipped } = nextTestSetup({
77
files: __dirname,
88
// TODO: remove after deployment handling is updated
99
skipDeployment: true,
@@ -24,9 +24,9 @@ describe('parallel-routes-and-interception', () => {
2424
// we also check that the #children-slot id is not present
2525
expect(await browser.hasElementByCssSelector('#children-slot')).toBe(false)
2626

27-
if (isPPR) {
27+
if (isPPR && !isNextDev) {
2828
let $ = await next.render$('/')
29-
expect($('title').text()).toBe('layout title')
29+
expect($('title').text()).toBe('')
3030
} else {
3131
const $ = await next.render$('/')
3232
expect($('title').text()).toBe('layout title')

0 commit comments

Comments
 (0)
Please sign in to comment.