[ADF-3774]Add process custom filter tests (#4085)

* Add process custom filter tests

* Modified getAllRowsNameColumn datatable method.
This commit is contained in:
cristinaj
2018-12-18 11:35:39 +02:00
committed by Eugenio Romano
parent a9e5c9b77e
commit 261eeae6f4
7 changed files with 215 additions and 25 deletions

View File

@@ -8,7 +8,7 @@
</mat-expansion-panel-header>
<form [formGroup]="editProcessFilterForm">
<div fxLayout="row" fxLayout.xs="column" fxLayoutAlign="space-between center" fxLayoutGap="10px">
<mat-form-field [floatLabel]="'auto'" fxFlex>
<mat-form-field [floatLabel]="'auto'" fxFlex data-automation-id="status">
<mat-select placeholder="{{'ADF_CLOUD_EDIT_PROCESS_FILTER.LABEL.STATUS' | translate}}" formControlName="state" id="adf-process-filter-state-id">
<mat-option *ngFor="let state of status" [value]="state.value">
{{ state.label }}
@@ -29,14 +29,14 @@
id="adf-process-filter-process-definition-id"
placeholder="{{'ADF_CLOUD_EDIT_PROCESS_FILTER.LABEL.PROCESS_DEF_ID' | translate}}"/>
</mat-form-field>
<mat-form-field [floatLabel]="'auto'" fxFlex>
<mat-form-field [floatLabel]="'auto'" fxFlex data-automation-id="sort">
<mat-select placeholder="{{'ADF_CLOUD_EDIT_PROCESS_FILTER.LABEL.COLUMN' | translate}}" formControlName="sort" id="adf-process-filter-sort-id">
<mat-option *ngFor="let column of columns" [value]="column.key">
{{ column.label }}
</mat-option>
</mat-select>
</mat-form-field>
<mat-form-field [floatLabel]="'auto'" fxFlex>
<mat-form-field [floatLabel]="'auto'" fxFlex data-automation-id="order">
<mat-select placeholder="{{'ADF_CLOUD_EDIT_PROCESS_FILTER.LABEL.DIRECTION' | translate}}" formControlName="order" id="adf-process-filter-order-id">
<mat-option *ngFor="let direction of directions" [value]="direction">
{{ direction }}