Skip to content

Commit

Permalink
Try to fix e2e tests
Browse files Browse the repository at this point in the history
  • Loading branch information
LeeY0846 committed Oct 19, 2024
1 parent f75c908 commit 96df4f5
Showing 1 changed file with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,15 @@ <h2 class="question-details"><b>Question {{ model.questionNumber }}: </b>{{ mode
<b>{{ getRecipientName(recipientSubmissionFormModel.recipientIdentifier) }} </b> <span>({{ model.recipientType | recipientTypeName:model.giverType }})</span>
</div>
<div class="row evaluee-select align-items-center" *ngIf="formMode === QuestionSubmissionFormMode.FLEXIBLE_RECIPIENT">
<select id="recipient-dropdown-qn-{{ model.questionNumber }}-idx-{{ i }}" class="form-control form-select fw-bold col" [ngModel]="recipientSubmissionFormModel.recipientIdentifier"
(ngModelChange)="triggerRecipientIdentifierChange(i, $event)"
[disabled]="isFormsDisabled"
[attr.aria-label]="'Select recipient dropdown question ' + model.questionNumber + ' index ' + i" hidden>
<option value=""></option>
<ng-container *ngFor="let recipient of model.recipientList">
<option *ngIf="!isRecipientSelected(recipient) || recipientSubmissionFormModel.recipientIdentifier === recipient.recipientIdentifier" [ngValue]="recipient.recipientIdentifier">{{ getSelectionOptionLabel(recipient) }}</option>
</ng-container>
</select>
<div class="input-selection-wrapper col" id="recipient-dropdown-input-qn-{{ model.questionNumber }}-idx-{{ i }}">
<input type="text" class="form-control form-select fw-bold"
[(ngModel)]="searchNameTexts[i]"
Expand All @@ -87,15 +96,6 @@ <h2 class="question-details"><b>Question {{ model.questionNumber }}: </b>{{ mode
tabindex="0">{{ getSelectionOptionLabel(recipient) }}</option>
</ng-container>
</div>
<select hidden
id="recipient-dropdown-qn-{{ model.questionNumber }}-idx-{{ i }}"
[ngModel]="recipientSubmissionFormModel.recipientIdentifier"
(ngModelChange)="triggerRecipientIdentifierChange(i, $event)">
<option value=""></option>
<ng-container *ngFor="let recipient of model.recipientList">
<option *ngIf="!isRecipientSelected(recipient) || recipientSubmissionFormModel.recipientIdentifier === recipient.recipientIdentifier" [ngValue]="recipient.recipientIdentifier">{{ getSelectionOptionLabel(recipient) }}</option>
</ng-container>
</select>
</div>
<div class="col-auto text-start">
({{ model.recipientType | recipientTypeName: model.giverType }})
Expand Down

0 comments on commit 96df4f5

Please sign in to comment.