mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-09-17 14:21:29 +00:00
[AAE-4817] Add reusble method in ProcessListCloudComponent page object (#6863)
This commit is contained in:
@@ -138,4 +138,10 @@ export class ProcessListCloudComponentPage {
|
|||||||
return options.length;
|
return options.length;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
async waitTillProcessListContentLoaded(): Promise<void> {
|
||||||
|
await this.checkProcessListIsLoaded();
|
||||||
|
await this.getDataTable().waitForTableBody();
|
||||||
|
await this.getDataTable().waitTillContentLoaded();
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@@ -150,4 +150,9 @@ export class TaskFormCloudComponent {
|
|||||||
return this.completeButton;
|
return this.completeButton;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
async waitTillTaskFormDisplayed() {
|
||||||
|
await this.checkFormIsDisplayed();
|
||||||
|
await this.formFields().checkFormIsDisplayed();
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user