File size: 463 Bytes
b91e262 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | import { nextTestSetup } from 'e2e-utils'
import { waitForNoRedbox } from 'next-test-utils'
import { waitForHydration } from 'development-sandbox'
describe('basic app-dir tests', () => {
const { next } = nextTestSetup({
files: __dirname,
})
it('should reload app pages without error', async () => {
const browser = await next.browser('/')
await browser.refresh()
await waitForHydration(browser)
await waitForNoRedbox(browser)
})
})
|