Browse Source

test: timeout to allow duplication of data

Signed-off-by: mertmit <mertmit99@gmail.com>
pull/6953/head
mertmit 11 months ago
parent
commit
94c6098339
  1. 2
      tests/playwright/pages/Dashboard/Grid/Column/index.ts

2
tests/playwright/pages/Dashboard/Grid/Column/index.ts

@ -326,7 +326,7 @@ export class ColumnPageObject extends BasePage {
await this.rootPage.locator('.nc-modal-column-duplicate .nc-button:has-text("Confirm"):visible').click();
// await this.verifyToast({ message: 'Column duplicated successfully' });
await this.grid.get().locator(`th[data-title="${expectedTitle}"]`).waitFor({ state: 'visible' });
await this.grid.get().locator(`th[data-title="${expectedTitle}"]`).waitFor({ state: 'visible', timeout: 10000 });
}
async hideColumn({ title, isDisplayValue = false }: { title: string; isDisplayValue?: boolean }) {

Loading…
Cancel
Save