From 86e88052fcc7931041259961d06e00f8921108cd Mon Sep 17 00:00:00 2001 From: Michael Brevard Date: Sun, 16 Jun 2024 10:20:51 +0300 Subject: [PATCH] fix: update test --- test/basic.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/basic.test.ts b/test/basic.test.ts index c3cbb70318..b194026e4f 100644 --- a/test/basic.test.ts +++ b/test/basic.test.ts @@ -2675,7 +2675,7 @@ describe('lazy import components', () => { await page.waitForLoadState('networkidle') expect(await page.locator('body').getByText('This shouldn\'t be visible at first with network!').all()).toHaveLength(1) expect(await page.locator('body').getByText('This should be visible at first with viewport!').all()).toHaveLength(1) - expect(await page.locator('body').getByText('This should be visible at first with events!').all()).toHaveLength(1) + expect(await page.locator('body').getByText('This should be visible at first with events!').all()).toHaveLength(2) const component = await page.locator('#lazyevent') const rect = (await component.boundingBox())! await page.mouse.move(rect.x + rect.width / 2, rect.y + rect.height / 2)