From 5d5432cba77bacdadc6a808269303bb9e4f056e6 Mon Sep 17 00:00:00 2001 From: "autofix-ci[bot]" <114827586+autofix-ci[bot]@users.noreply.github.com> Date: Sat, 15 Jun 2024 13:38:28 +0000 Subject: [PATCH] [autofix.ci] apply automated fixes --- test/basic.test.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/basic.test.ts b/test/basic.test.ts index 8db1f58b02..a82afca16c 100644 --- a/test/basic.test.ts +++ b/test/basic.test.ts @@ -2679,13 +2679,13 @@ describe('lazy import components', () => { 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) - await page.waitForResponse(response => - response.status() === 200 && response.text().then(text => text.includes("This shouldn't be visible at first with events!")) + await page.waitForResponse(response => + response.status() === 200 && response.text().then(text => text.includes('This shouldn\'t be visible at first with events!')), ) expect(await page.locator('body').getByText('This shouldn\'t be visible at first with events!').all()).toHaveLength(1) await page.evaluate(() => window.scrollTo(0, document.body.scrollHeight)) - await page.waitForResponse(response => - response.status() === 200 && response.text().then(text => text.includes("This shouldn't be visible at first with viewport!")) + await page.waitForResponse(response => + response.status() === 200 && response.text().then(text => text.includes('This shouldn\'t be visible at first with viewport!')), ) expect(await page.locator('body').getByText('This shouldn\'t be visible at first with viewport!').all()).toHaveLength(1) })