mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-29 17:07:22 +00:00
wip: testing page text getting
This commit is contained in:
parent
d209a02492
commit
88bae15ad7
@ -2565,5 +2565,7 @@ describe('lazy import components', () => {
|
|||||||
|
|
||||||
it('lazy load delayed hydration comps at the right time', () => {
|
it('lazy load delayed hydration comps at the right time', () => {
|
||||||
expect(html).not.toContain('This shouldn\'t be visible at first!')
|
expect(html).not.toContain('This shouldn\'t be visible at first!')
|
||||||
|
const { page } = await renderPage('/lazy-import-components')
|
||||||
|
expect(page.locator('body').getByText('This shouldn\'t be visible at first!')).not.toBeDefined()
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user