diff --git a/lib/testing/src/lib/process-services-cloud/pages/process-list-cloud-component.page.ts b/lib/testing/src/lib/process-services-cloud/pages/process-list-cloud-component.page.ts index 54dd1c18d77..0ccad355058 100644 --- a/lib/testing/src/lib/process-services-cloud/pages/process-list-cloud-component.page.ts +++ b/lib/testing/src/lib/process-services-cloud/pages/process-list-cloud-component.page.ts @@ -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 { + return this.dataTable.checkContentIsDisplayed(this.columns.processDefinitionName, processDefinition); + } + checkContentIsDisplayedById(processId: string): Promise { return this.dataTable.checkContentIsDisplayed(this.columns.id, processId); }