Skip to content

Commit

Permalink
[ACA-4223] Add process definition name filter (#6542)
Browse files Browse the repository at this point in the history
* Add new method in process-list-cloud-component.page.ts
  • Loading branch information
bogdanapatrichi committed Jan 18, 2021
1 parent 31254a7 commit 885792b
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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'));
Expand Down Expand Up @@ -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);
}
Expand Down

0 comments on commit 885792b

Please sign in to comment.