File size: 383 Bytes
1e92f2d
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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')
  })
})