mirror of
https://github.com/nuxt/nuxt.git
synced 2025-03-09 03:03:18 +00:00
[autofix.ci] apply automated fixes
This commit is contained in:
parent
9b8d33babf
commit
8eaf057ffe
@ -2573,7 +2573,7 @@ describe('lazy import components', () => {
|
||||
expect(html).not.toContain('This shouldn\'t be visible at first!')
|
||||
const { page } = await renderPage('/lazy-import-components')
|
||||
expect(await page.locator('body').getByText('This shouldn\'t be visible at first!').all()).toHaveLength(1)
|
||||
const response = page.waitForResponse(response => response.url().includes("DelayedWrapperTestComponent") && response.status() === 200)
|
||||
const response = page.waitForResponse(response => response.url().includes('DelayedWrapperTestComponent') && response.status() === 200)
|
||||
await page.evaluate(() => window.scrollTo(0, document.body.scrollHeight))
|
||||
await response
|
||||
await page.waitForLoadState('networkidle')
|
||||
|
Loading…
Reference in New Issue
Block a user