mirror of
https://github.com/vercel/next.js.git
synced 2026-09-20 02:25:18 +08:00
18 lines
463 B
TypeScript
18 lines
463 B
TypeScript
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)
|
|
})
|
|
})
|