From 6803f61667d9805b1f693238108328d468c1a11d Mon Sep 17 00:00:00 2001 From: Michael Brevard Date: Fri, 28 Jun 2024 16:05:00 +0300 Subject: [PATCH] chore: debug timeout tests --- test/basic.test.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/basic.test.ts b/test/basic.test.ts index d7a763c530..fde8c7032a 100644 --- a/test/basic.test.ts +++ b/test/basic.test.ts @@ -2714,9 +2714,9 @@ describe('lazy import components', () => { expect(await page.locator('body').getByText('This shouldn\'t be visible at first with events!').all()).toHaveLength(1) await page.close() }) - it('does not delay hydration of components named after modifiers', () => { - expect(html).toContain('This fake lazy event should be visible!') - expect(html).not.toContain('This fake lazy event shouldn\'t be visible!') + it('does not delay hydration of components named after modifiers', async () => { + const { page } = await renderPage('/lazy-import-components') + await page.waitForLoadState('networkidle') }) })