Skip to content

Commit

Permalink
Merge pull request #330 from MauroDataMapper/feature/mc-9681
Browse files Browse the repository at this point in the history
MC-9681 Add Cypress test IDs to inline edit controls
  • Loading branch information
jamesrwelch authored Sep 29, 2021
2 parents 27dcb12 + e5678da commit 232efe5
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,10 @@
[name]="name"
class="outlined-input form-control"
[ngClass]="styleCss" />
<button
<button
*ngIf="showButtons"
[disabled]="isRequired && ngValue.length === 0"
data-cy="save"
mat-icon-button
color="accent"
type="button"
Expand All @@ -43,10 +44,11 @@
</button>
<button
*ngIf="showButtons"
data-cy="cancel"
mat-icon-button
color="warn"
type="button"
matTooltip="Cancel edit"
matTooltip="Cancel edit"
aria-label="Cancel edit"
(click)="cancel()"
>
Expand Down

0 comments on commit 232efe5

Please sign in to comment.