Skip to content

Commit 22808b7

Browse files
automation IDs for list inputs (#37)
Automation IDs given to all the inputs inside list popup for both step and sweep
1 parent ea895c4 commit 22808b7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

script-gen-ui/src/app/components/main-sweep/list/list.component.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ <h3 style="margin: 0">List</h3>
88
<div style="width: 14vw">
99
<app-input-numeric
1010
[label]="'Points/Steps'"
11+
automationID="'numberOfPointsOrSteps'"
1112
[(ngModel)]="noOfPointsOrSteps"
1213
name="noOfPointsOrSteps"
1314
*ngIf="noOfPointsOrSteps !== undefined && noOfPointsOrSteps !== null"
@@ -36,6 +37,7 @@ <h3 style="margin: 0">List</h3>
3637
<td *ngFor="let sweep of listsWithNames">
3738
<app-input-plain
3839
[unit]="sweep.list[i].unit"
40+
automationID= "point-{{(i + 1)}}-{{sweep.chanName}}"
3941
[(ngModel)]="sweep.list[i].value"
4042
(keydown.enter)="onEnter()"
4143
style="width: 95%"

0 commit comments

Comments
 (0)