next.js/test/e2e/app-dir/app-fetch-deduping-errors/app-fetch-deduping-errors.test.ts
app-fetch-deduping-errors.test.ts14 lines383 B
import { nextTestSetup } from 'e2e-utils'

describe('app-fetch-errors', () => {
  const { next } = nextTestSetup({
    files: __dirname,
  })

  it('should still successfully render when a fetch request that acquires a cache lock errors', async () => {
    const browser = await next.browser('/1')

    expect(await browser.elementByCss('body').text()).toBe('Hello World 1')
  })
})
Quest for Codev2.0.0
/
SIGN IN