[autofix.ci] apply automated fixes

This commit is contained in:
autofix-ci[bot] 2024-04-13 19:41:39 +00:00 committed by GitHub
parent 9b8d33babf
commit 8eaf057ffe
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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')