Add data-automation-id to an error message displayed on the Tag Page. (#3064)

This commit is contained in:
cristinaj
2018-03-13 12:40:01 +02:00
committed by Eugenio Romano
parent 84fcdd46c2
commit 1bb2f676a0

View File

@@ -17,7 +17,7 @@
(keypress)="cleanErrorMsg()"
[(ngModel)]="newTagName"
id="new-tag-text"/>
<mat-hint *ngIf="error" [ngStyle]="{'color': 'red'}" align="start">{{errorMsg}}</mat-hint>
<mat-hint data-automation-id="errorMessage" *ngIf="error" [ngStyle]="{'color': 'red'}" align="start">{{errorMsg}}</mat-hint>
</mat-form-field>
</td>
<td>