From 3f2163c30ac1af77bdaf85ce0d0b23e8b900be2a Mon Sep 17 00:00:00 2001 From: Jose Olarte III Date: Sat, 20 Jul 2024 15:16:54 +0800 Subject: [PATCH] Simplify --- test-playwright/check-activity-feed.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test-playwright/check-activity-feed.spec.ts b/test-playwright/check-activity-feed.spec.ts index 8572a25..be54f33 100644 --- a/test-playwright/check-activity-feed.spec.ts +++ b/test-playwright/check-activity-feed.spec.ts @@ -5,7 +5,7 @@ test('test', async ({ page }) => { await page.goto('https://test.timesafari.app/'); // Check that initial 10 activities have been loaded - await expect(page.locator('li:nth-child(10)')).toBeVisible(); + await page.locator('li:nth-child(10)'); // Scroll down a bit to trigger loading additional activities await page.locator('li:nth-child(50)').scrollIntoViewIfNeeded();