import { nextTestSetup } from 'e2e-utils' function countSubstring(str: string, substr: string): number { return str.split(substr).length - 1 } // TODO(NAR-423): Migrate to Cache Components. describe.skip('ppr-metadata-blocking-ppr-fallback', () => { const { next, skipped } = nextTestSetup({ files: __dirname, // Need to skip deployment because the test uses the private env cannot be used in deployment skipDeployment: true, env: { __NEXT_EXPERIMENTAL_STATIC_SHELL_DEBUGGING: '1', }, }) if (skipped) return it('should not include metadata in partial shell when page is fully dynamic', async () => { const $ = await next.render$('/fully-dynamic?__nextppronly=fallback') expect(countSubstring($.html(), '