Skip to content

Commit ce251dd

Browse files
committed
Fixing more tests.
1 parent c78b3f3 commit ce251dd

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

eform-client/cypress/e2e/helper-functions.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,8 @@ export function selectValueInNgSelectorNoSelector(value: string) {
212212
cy.get('.ng-option').each((item, index, list) => {
213213
if (item.text().includes(value)) {
214214
item.click();
215+
cy.wait(500);
216+
return false; // break the loop
215217
}
216218
});
217219
}

eform-client/src/app/modules/eforms/eform-visual-editor/components/eform-visual-editor-elements/field/visual-editor-field-modal/visual-editor-field-modal.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ <h3 mat-dialog-title>{{ (isFieldSelected ? 'Edit field' : 'New field') | transla
8888
contenteditable="true"
8989
[(value)]="translation.description"
9090
[placeholder]="'Description' | translate"
91-
id="newFieldDescriptionTranslation_{{ translationIndex }}"
91+
id="fieldDescriptionTranslation_{{ translationIndex }}"
9292
>
9393
</formatting-text-editor>
9494
</div>

0 commit comments

Comments
 (0)