diff --git a/tests/playwright/pages/Dashboard/Grid/Column/index.ts b/tests/playwright/pages/Dashboard/Grid/Column/index.ts index 8371479e9b..da7fe10b91 100644 --- a/tests/playwright/pages/Dashboard/Grid/Column/index.ts +++ b/tests/playwright/pages/Dashboard/Grid/Column/index.ts @@ -328,11 +328,19 @@ export class ColumnPageObject extends BasePage { // Time Format await this.get().locator('.nc-time-select').click(); await this.rootPage.locator('.ant-select-item').locator(`text="${timeFormat}"`).click(); + + // allow UI to update + await this.rootPage.waitForTimeout(500); + break; case 'Date': await this.get().locator('.nc-date-select').click(); - await this.rootPage.locator('.nc-date-select').pressSequentially(dateFormat); + await this.rootPage.locator('.nc-date-select').pressSequentially(dateFormat, { delay: 100 }); await this.rootPage.locator('.ant-select-item').locator(`text="${dateFormat}"`).click(); + + // allow UI to update + await this.rootPage.waitForTimeout(500); + break; default: break;