next.js/test/e2e/app-dir/parallel-routes-group-depth/parallel-routes-group-depth.test.ts
parallel-routes-group-depth.test.ts14 lines461 B
import { nextTestSetup } from 'e2e-utils'

describe('parallel-routes-group-depth', () => {
  const { next } = nextTestSetup({
    files: __dirname,
  })

  it('should render a page with a parallel slot and children in a route group', async () => {
    const $ = await next.render$('/parallel-group-depths-shallow-slot-hole')
    expect($('#slot-page').text()).toBe('Slot Page')
    expect($('#children-page').text()).toBe('Children (route group) page')
  })
})
Quest for Codev2.0.0
/
SIGN IN