Browse Source

feat(testing): Removed unnecasry delay

pull/3848/head
Muhammed Mustafa 2 years ago
parent
commit
809fd621d9
  1. 3
      scripts/playwright/pages/Dashboard/Grid/index.ts

3
scripts/playwright/pages/Dashboard/Grid/index.ts

@ -120,9 +120,6 @@ export class GridPage extends BasePage {
async selectAll() {
await this.get().locator('[pw-data="nc-check-all"]').hover();
// fix me! without this, elements are getting de-checked after select-all
await this.rootPage.waitForTimeout(1000);
await this.get()
.locator('[pw-data="nc-check-all"]')
.locator('input[type="checkbox"]')

Loading…
Cancel
Save