Browse Source

fix: add new row playwright test case fail issue

pull/7348/head
Ramesh Mane 11 months ago
parent
commit
5b7d7302b5
  1. 2
      tests/playwright/pages/Dashboard/Grid/index.ts

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

@ -124,7 +124,7 @@ export class GridPage extends BasePage {
await this.get().locator('.nc-grid-add-new-cell').click(); await this.get().locator('.nc-grid-add-new-cell').click();
// wait for insert row response // wait for insert row response
await this.rootPage.waitForTimeout(400); await this.rootPage.waitForTimeout(1000);
const rowCount = index + 1; const rowCount = index + 1;
await expect(this.get().locator('.nc-grid-row')).toHaveCount(rowCount); await expect(this.get().locator('.nc-grid-row')).toHaveCount(rowCount);

Loading…
Cancel
Save