We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c13f502 commit ea8d502Copy full SHA for ea8d502
test/e2e/app-dir/ppr-full/ppr-full.test.ts
@@ -458,7 +458,14 @@ describe('ppr-full', () => {
458
459
// We expect to get the fallback shell.
460
$ = await next.render$(pathname)
461
- expect($('[data-layout]').data('layout')).toBe(fallbackID)
+
462
+ // When deployed to Vercel, it will serve a stale version of the dynamic shell
463
+ // Whereas with `next start` it will serve the fallback shell
464
+ if (isNextDeploy) {
465
+ expect($('[data-layout]').data('layout')).toBe(dynamicID)
466
+ } else {
467
+ expect($('[data-layout]').data('layout')).toBe(fallbackID)
468
+ }
469
470
// Let's wait for the page to be revalidated.
471
let revalidatedDynamicID: string
0 commit comments