[ADF-4028][ADF-4047]Add process list cloud selection tests (#4537)

* Add process list cloud selection tests

* Fix lint issues

* Fix lint issues

* Added columns to contentServicesPage

* Fix lint error.

* Add the possibility to test the selection mode for process details.
This commit is contained in:
cristinaj
2019-04-24 20:00:52 +03:00
committed by Eugenio Romano
parent 453415d73b
commit f2c954d911
11 changed files with 360 additions and 22 deletions

View File

@@ -53,6 +53,7 @@ export class ProcessesCloudDemoComponent implements OnInit {
selectedRows: string[] = [];
testingMode: boolean;
processFilterProperties: any = { filterProperties: [], sortProperties: [], actions: [] };
processDetailsRedirection: boolean;
editedFilter: ProcessFilterCloudModel;
@@ -89,6 +90,7 @@ export class ProcessesCloudDemoComponent implements OnInit {
this.multiselect = settings.multiselect;
this.testingMode = settings.testingMode;
this.selectionMode = settings.selectionMode;
this.processDetailsRedirection = settings.processDetailsRedirection;
}
}
@@ -101,7 +103,9 @@ export class ProcessesCloudDemoComponent implements OnInit {
}
onRowClick(processInstanceId) {
this.router.navigate([`/cloud/${this.appName}/process-details/${processInstanceId}`]);
if (!this.multiselect && this.selectionMode !== 'multiple' && this.processDetailsRedirection) {
this.router.navigate([`/cloud/${this.appName}/process-details/${processInstanceId}`]);
}
}
onFilterChange(query: any) {