From 22d8498776347832a22da4fd25b28bc4e2c450d8 Mon Sep 17 00:00:00 2001 From: Petyo Ivanov Date: Sat, 23 Jan 2021 20:27:42 +0200 Subject: [PATCH] chore(): fix a test --- e2e/scroll-seek-placeholder.test.ts | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/e2e/scroll-seek-placeholder.test.ts b/e2e/scroll-seek-placeholder.test.ts index 80c0f1b3e..a881bff7b 100644 --- a/e2e/scroll-seek-placeholder.test.ts +++ b/e2e/scroll-seek-placeholder.test.ts @@ -1,10 +1,7 @@ describe('list with scroll seek placeholders', () => { - beforeAll(async () => { - await page.goto('http://localhost:1234/scroll-seek-placeholder') - }) - beforeEach(async () => { - await page.reload() + await page.goto('http://localhost:1234/scroll-seek-placeholder') + await page.waitForSelector('#test-root div') await page.waitForTimeout(100) })