From 885792ba014e85bd68a09489578f3d842da598e0 Mon Sep 17 00:00:00 2001 From: Petruta Bogdana Patrichi <59565622+bogdanapatrichi@users.noreply.github.com> Date: Mon, 18 Jan 2021 17:54:38 +0200 Subject: [PATCH] [ACA-4223] Add process definition name filter (#6542) * Add new method in process-list-cloud-component.page.ts --- .../pages/process-list-cloud-component.page.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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); }