Unverified Commit 2484e93d authored by Zack Tanner's avatar Zack Tanner Committed by GitHub

temporarily skip flaky turbopack build test (#72488)

Need to investigate why this flakes only in Turbopack. Disabling in that
context for now.
parent a4220540
/* eslint-disable jest/no-standalone-expect */
import { waitFor, retry } from 'next-test-utils' import { waitFor, retry } from 'next-test-utils'
import { nextTestSetup } from 'e2e-utils' import { nextTestSetup } from 'e2e-utils'
describe('app-fetch-deduping', () => { describe('app-fetch-deduping', () => {
const { next } = nextTestSetup({ files: __dirname }) const { next, isTurbopack } = nextTestSetup({ files: __dirname })
it('should still properly cache fetches when the user has a custom fetch implementation', async () => { const itSkipTurbopack = isTurbopack ? it.skip : it
// This solution consistently works in Webpack but is flaky in Turbopack.
// This will require a follow-up
itSkipTurbopack(
'should still properly cache fetches when the user has a custom fetch implementation',
async () => {
const browser = await next.browser('/') const browser = await next.browser('/')
let currentValue: string | undefined let currentValue: string | undefined
...@@ -25,5 +32,6 @@ describe('app-fetch-deduping', () => { ...@@ -25,5 +32,6 @@ describe('app-fetch-deduping', () => {
const finalValue = await browser.elementById('random').text() const finalValue = await browser.elementById('random').text()
expect(finalValue).not.toBe(currentValue) expect(finalValue).not.toBe(currentValue)
}) })
}) }
)
}) })
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