Unverified Commit 05d71110 authored by Zack Tanner's avatar Zack Tanner Committed by GitHub

[test]: move resume-data-cache to e2e test (#85647)

Moves `resume-data-cache` to `test/e2e`. We don't currently run
`production` tests when deployed - many of them do funky things with
`next.build` / `next.start` and are meant to test local behavior rather
than deployed behavior.

As a result, I also temporarily disabled this test when deployed because
there are currently bugs.
parent 567dc18b
......@@ -3,10 +3,18 @@ import { retry } from 'next-test-utils'
import { computeCacheBustingSearchParam } from 'next/dist/shared/lib/router/utils/cache-busting-search-param'
describe('resume-data-cache', () => {
const { next, isNextDeploy } = nextTestSetup({
const { next, isNextDeploy, isNextDev, skipped } = nextTestSetup({
files: __dirname,
// TODO (rdc-for-navigations): This test is failing as the dynamic response
// is producing a different cached value than the static prefetch.
skipDeployment: true,
})
if (isNextDev || skipped) {
it('is skipped', () => {})
return
}
it.each([
{ name: 'use cache', id: 'random-number' },
{ name: 'fetch cache', id: 'another-random-number' },
......
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