From e907dba6db737875b2c6dc9c6ae69f643fb9533c Mon Sep 17 00:00:00 2001 From: DarkPhoenix2704 Date: Sun, 30 Jun 2024 09:45:44 +0000 Subject: [PATCH] fix: test --- tests/playwright/pages/Dashboard/Grid/AggregationBar.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/tests/playwright/pages/Dashboard/Grid/AggregationBar.ts b/tests/playwright/pages/Dashboard/Grid/AggregationBar.ts index c3253e624c..73a5b3c425 100644 --- a/tests/playwright/pages/Dashboard/Grid/AggregationBar.ts +++ b/tests/playwright/pages/Dashboard/Grid/AggregationBar.ts @@ -29,9 +29,6 @@ export class AggregaionBarPage extends BasePage { const clickAggregation = async (agg: string) => { const clickElem = overlay.getByTestId(`nc-aggregation-${agg}`); - - await clickElem.scrollIntoViewIfNeeded(); - return clickElem.click(); }; @@ -43,7 +40,7 @@ export class AggregaionBarPage extends BasePage { }); } else { await clickAggregation(aggregation); - await this.rootPage.waitForTimeout(500); + // await this.rootPage.waitForTimeout(500); } }