[AAE-1764] Fix testing methods checking visibility of widgets (#5457)

* [AAE-1764] Fix testing methods checking visibility of widgets

* [AAE-1764] Fix e2e failing because of method refactoring

* [AAE-1764] Fix widget visibility e2e
This commit is contained in:
arditdomi
2020-02-11 12:20:42 +00:00
committed by GitHub
parent a3bf224173
commit b49645316a
5 changed files with 143 additions and 17 deletions

View File

@@ -128,7 +128,7 @@ describe('Process-Services - Visibility conditions', () => {
it('[C311425] Should be able to see Checkbox widget when visibility condition refers to a field and another field', async () => {
await widget.textWidget().isWidgetVisible(widgets.textOneId);
await widget.checkboxWidget().isCheckboxHidden(checkbox.checkboxFieldField);
await widget.checkboxWidget().isCheckboxDisplayed(checkbox.checkboxFieldField);
await widget.textWidget().setValue(widgets.textOneId, value.displayCheckbox);
await widget.checkboxWidget().isCheckboxHidden(checkbox.checkboxFieldField);