[ADF-3430] E2E for using fields to filter Process List (#4040)

This commit is contained in:
jdosti
2019-01-15 17:23:52 +00:00
committed by Eugenio Romano
parent 9fd9e7f4a9
commit 71c0fd0046
20 changed files with 393 additions and 24 deletions

View File

@@ -3,9 +3,9 @@
<form [formGroup]="processListForm">
<mat-form-field>
<mat-label>App Id</mat-label>
<input
matInput
[formControl]="processAppId">
<input data-automation-id="app-id"
matInput
[formControl]="processAppId">
<mat-error *ngIf="processAppId.hasError('required')">
{{ 'PROCESS_LIST_DEMO.ERROR_MESSAGE.APP_ID_REQUIRED_ERROR' | translate }}
</mat-error>
@@ -19,25 +19,25 @@
<mat-form-field>
<mat-label>ProcessInstanceId</mat-label>
<input
matInput
class="form-control"
[formControl]="processInstanceId">
<input data-automation-id="process-instance-id"
matInput
class="form-control"
[formControl]="processInstanceId">
<mat-hint>SimpleProcess:1:2</mat-hint>
</mat-form-field>
<mat-form-field>
<mat-label>ProcessDefinitionId</mat-label>
<input
matInput
[formControl]="processDefinitionId">
<input data-automation-id="process-definition-id"
matInput
[formControl]="processDefinitionId">
<mat-hint>SimpleProcess:1:2</mat-hint>
</mat-form-field>
<mat-form-field>
<mat-label>State</mat-label>
<mat-select
[formControl]="processState">
[formControl]="processState" data-automation-id="state">
<mat-option *ngFor="let stateOption of stateOptions" [value]="stateOption.value">{{ stateOption.title }}</mat-option>
</mat-select>
</mat-form-field>
@@ -45,7 +45,7 @@
<mat-form-field>
<mat-label>Sort</mat-label>
<mat-select
[formControl]="processSort">
[formControl]="processSort" data-automation-id="sort">
<mat-option *ngFor="let sortOption of sortOptions" [value]="sortOption.value">{{ sortOption.title }}</mat-option>
</mat-select>
</mat-form-field>
@@ -109,4 +109,3 @@
[target]="processList">
</adf-pagination>
</div>