Skip to content

Commit 2fc5db7

Browse files
committed
Adding the missing ids.
1 parent be9ad5e commit 2fc5db7

File tree

2 files changed

+12
-5
lines changed

2 files changed

+12
-5
lines changed

eform-client/src/app/plugins/modules/backend-configuration-pn/components/properties/property-actions/property-create-modal/property-create-modal.component.html

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,32 +3,33 @@ <h3 mat-dialog-title>{{ 'New property' | translate }}</h3>
33
<div class="d-flex flex-column" [formGroup]="newPropertyForm">
44
<mat-form-field>
55
<mat-label>{{'CVR Number' | translate}}</mat-label>
6-
<input matInput type="text" formControlName="cvr" (input)="onNameFilterChanged($event.target.value)">
6+
<input matInput type="text" formControlName="cvr" (input)="onNameFilterChanged($event.target.value)" id="createCVRNumber">
77
</mat-form-field>
88

99
<mat-form-field>
1010
<mat-label>{{'e-mail addresses' | translate}}</mat-label>
11-
<input matInput type="text" formControlName="mainMailAddress">
11+
<input matInput type="text" formControlName="mainMailAddress" id="createMainMailAddress">
1212
</mat-form-field>
1313

1414
<mat-form-field>
1515
<mat-label>{{'CHR name' | translate}}</mat-label>
16-
<input matInput type="text" formControlName="name">
16+
<input matInput type="text" formControlName="name" id="createPropertyName">
1717
</mat-form-field>
1818

1919
<mat-form-field>
2020
<mat-label>{{'CHR Number' | translate}}</mat-label>
21-
<input matInput type="text" formControlName="chr" (input)="onChrNumberChanged($event.target.value)">
21+
<input matInput type="text" formControlName="chr" (input)="onChrNumberChanged($event.target.value)" id="createCHRNumber">
2222
</mat-form-field>
2323

2424
<mat-form-field>
2525
<mat-label>{{'CHR address' | translate}}</mat-label>
26-
<input matInput type="text" formControlName="address">
26+
<input matInput type="text" formControlName="address" id="createPropertyAddress">
2727
</mat-form-field>
2828

2929
<mat-slide-toggle
3030
*ngIf="authStateService.checkClaim('task_management_enable')"
3131
color="primary"
32+
id="propertyCreateWorkorderFlowEnableToggle"
3233
formControlName="workorderEnable">
3334
{{ "Task management" | translate }}
3435
</mat-slide-toggle>

eform-client/src/app/plugins/modules/backend-configuration-pn/components/properties/property-actions/property-edit-modal/property-edit-modal.component.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ <h3 mat-dialog-title>{{ 'Edit property' | translate }}</h3>
99
matInput
1010
type="text"
1111
formControlName="cvr"
12+
id="editCVRNumber"
1213
(input)="onNameFilterChanged($event.target.value)"
1314
/>
1415
</mat-form-field>
@@ -18,6 +19,7 @@ <h3 mat-dialog-title>{{ 'Edit property' | translate }}</h3>
1819
<input
1920
matInput
2021
type="text"
22+
id="editMainMailAddress"
2123
formControlName="mainMailAddress"
2224
/>
2325
</mat-form-field>
@@ -27,6 +29,7 @@ <h3 mat-dialog-title>{{ 'Edit property' | translate }}</h3>
2729
<input
2830
matInput
2931
type="text"
32+
id="editPropertyName"
3033
formControlName="name"
3134
/>
3235
</mat-form-field>
@@ -37,6 +40,7 @@ <h3 mat-dialog-title>{{ 'Edit property' | translate }}</h3>
3740
matInput
3841
type="text"
3942
formControlName="chr"
43+
id="editCHRNumber"
4044
(input)="onChrNumberChanged($event.target.value)"
4145
/>
4246
</mat-form-field>
@@ -46,13 +50,15 @@ <h3 mat-dialog-title>{{ 'Edit property' | translate }}</h3>
4650
<input
4751
matInput
4852
type="text"
53+
id="editPropertyAddress"
4954
formControlName="address"
5055
/>
5156
</mat-form-field>
5257

5358
<mat-slide-toggle
5459
*ngIf="selectAuthIsAdmin$ | async"
5560
color="primary"
61+
id="propertyEditWorkorderFlowEnableToggle"
5662
formControlName="workorderEnable"
5763
>
5864
{{ 'Task management' | translate }}

0 commit comments

Comments
 (0)