From aa3df0bc6f4c0d0e1a296e191844eedc28716d0a Mon Sep 17 00:00:00 2001 From: Michael Brevard Date: Sat, 15 Jun 2024 16:35:57 +0300 Subject: [PATCH] chore: autofix --- test/basic.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/basic.test.ts b/test/basic.test.ts index 1463e04a22..8db1f58b02 100644 --- a/test/basic.test.ts +++ b/test/basic.test.ts @@ -2680,12 +2680,12 @@ describe('lazy import components', () => { 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!")) + 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!")) + 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) })