diff --git a/tests/playwright/pages/Dashboard/common/Toolbar/Groupby.ts b/tests/playwright/pages/Dashboard/common/Toolbar/Groupby.ts index e6e7f73e55..c47ae79cc5 100644 --- a/tests/playwright/pages/Dashboard/common/Toolbar/Groupby.ts +++ b/tests/playwright/pages/Dashboard/common/Toolbar/Groupby.ts @@ -49,6 +49,7 @@ export class ToolbarGroupByPage extends BasePage { .locator(`div[label="${title}"]`) .last() .click(); + await this.rootPage.locator('.nc-sort-dir-select').nth(index).waitFor({ state: 'visible' }); await this.rootPage.locator('.nc-sort-dir-select').nth(index).click(); await this.rootPage .locator('.nc-dropdown-sort-dir')