Browse Source

fix: Fixed flakyness with form test

pull/6524/head
Muhammed Mustafa 1 year ago
parent
commit
e463481d66
  1. 2
      tests/playwright/pages/Dashboard/Form/index.ts

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

@ -138,6 +138,8 @@ export class FormPage extends BasePage {
}
async removeAllFields() {
// TODO: Otherwise form input boxes are not visible sometimes
await this.rootPage.waitForTimeout(1000);
await this.removeAllButton.click();
}

Loading…
Cancel
Save