[AAE-4817] Add reusble method in ProcessListCloudComponent page object (#6863)

This commit is contained in:
siva kumar 2021-03-26 19:40:37 +05:30 committed by GitHub
parent 0e673a9d92
commit 6c295b9f1c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 0 deletions

View File

@ -138,4 +138,10 @@ export class ProcessListCloudComponentPage {
return options.length;
}
async waitTillProcessListContentLoaded(): Promise<void> {
await this.checkProcessListIsLoaded();
await this.getDataTable().waitForTableBody();
await this.getDataTable().waitTillContentLoaded();
}
}

View File

@ -150,4 +150,9 @@ export class TaskFormCloudComponent {
return this.completeButton;
}
async waitTillTaskFormDisplayed() {
await this.checkFormIsDisplayed();
await this.formFields().checkFormIsDisplayed();
}
}