diff --git a/tests/playwright/pages/Dashboard/Grid/AggregationBar.ts b/tests/playwright/pages/Dashboard/Grid/AggregationBar.ts index 32271ffe1a..d42f1acbb3 100644 --- a/tests/playwright/pages/Dashboard/Grid/AggregationBar.ts +++ b/tests/playwright/pages/Dashboard/Grid/AggregationBar.ts @@ -23,6 +23,8 @@ export class AggregaionBarPage extends BasePage { aggregation: string; skipNetworkValidation?: boolean; }) { + await this.parent.renderColumn(column_name); + await this.rootPage.getByTestId(`nc-aggregation-column-${column_name}`).click(); const overlay = this.rootPage.locator(`.nc-aggregation-${column_name}-overlay`); diff --git a/tests/playwright/tests/db/features/column-aggregation.spec.ts b/tests/playwright/tests/db/features/column-aggregation.spec.ts index d4f471a38b..41473da1f3 100644 --- a/tests/playwright/tests/db/features/column-aggregation.spec.ts +++ b/tests/playwright/tests/db/features/column-aggregation.spec.ts @@ -686,6 +686,8 @@ test.describe('Field Aggregation', () => { option: users[0], multiSelect: false, }); + + await page.reload(); }); test.afterEach(async () => { @@ -693,8 +695,6 @@ test.describe('Field Aggregation', () => { }); test('Aggregation Grid Test', async ({ page }) => { - // Write your test here - for (const x of Object.entries(verificationData)) { const colName = x[0];