Browse Source

fix: test

nc-agg/tests
DarkPhoenix2704 5 months ago
parent
commit
e907dba6db
  1. 5
      tests/playwright/pages/Dashboard/Grid/AggregationBar.ts

5
tests/playwright/pages/Dashboard/Grid/AggregationBar.ts

@ -29,9 +29,6 @@ export class AggregaionBarPage extends BasePage {
const clickAggregation = async (agg: string) => { const clickAggregation = async (agg: string) => {
const clickElem = overlay.getByTestId(`nc-aggregation-${agg}`); const clickElem = overlay.getByTestId(`nc-aggregation-${agg}`);
await clickElem.scrollIntoViewIfNeeded();
return clickElem.click(); return clickElem.click();
}; };
@ -43,7 +40,7 @@ export class AggregaionBarPage extends BasePage {
}); });
} else { } else {
await clickAggregation(aggregation); await clickAggregation(aggregation);
await this.rootPage.waitForTimeout(500); // await this.rootPage.waitForTimeout(500);
} }
} }

Loading…
Cancel
Save