mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ACA-4223] Add process definition name filter (#6542)
* Add new method in process-list-cloud-component.page.ts
This commit is contained in:
committed by
GitHub
parent
31254a73eb
commit
885792ba01
@@ -24,7 +24,8 @@ export class ProcessListCloudComponentPage {
|
||||
|
||||
columns = {
|
||||
id: 'Id',
|
||||
name: 'Name'
|
||||
name: 'Name',
|
||||
processDefinitionName: 'Process Definition Name'
|
||||
};
|
||||
|
||||
processList = element(by.css('adf-cloud-process-list'));
|
||||
@@ -74,6 +75,10 @@ export class ProcessListCloudComponentPage {
|
||||
return this.dataTable.checkContentIsNotDisplayed(this.columns.name, processName);
|
||||
}
|
||||
|
||||
checkContentIsDisplayedByProcessDefinitionName(processDefinition: string): Promise<void> {
|
||||
return this.dataTable.checkContentIsDisplayed(this.columns.processDefinitionName, processDefinition);
|
||||
}
|
||||
|
||||
checkContentIsDisplayedById(processId: string): Promise<void> {
|
||||
return this.dataTable.checkContentIsDisplayed(this.columns.id, processId);
|
||||
}
|
||||
|
Reference in New Issue
Block a user