Adding a data-automation-id for Start Process button in a start event (#2967)

This commit is contained in:
jdosti
2018-02-20 15:45:53 +00:00
committed by Eugenio Romano
parent 36836d0119
commit afe8778ac1

View File

@@ -20,6 +20,7 @@
<ng-content select="[form-custom-button]"></ng-content> <ng-content select="[form-custom-button]"></ng-content>
<button *ngFor="let outcome of form.outcomes" <button *ngFor="let outcome of form.outcomes"
mat-button mat-button
[attr.data-automation-id]="'adf-form-' + outcome.name | lowercase"
[disabled]="!isOutcomeButtonEnabled(outcome)" [disabled]="!isOutcomeButtonEnabled(outcome)"
[class.mdl-button--colored]="!outcome.isSystem" [class.mdl-button--colored]="!outcome.isSystem"
[class.adf-form-hide-button]="!isOutcomeButtonVisible(outcome, form.readOnly)" [class.adf-form-hide-button]="!isOutcomeButtonVisible(outcome, form.readOnly)"