[AAE-1943] Dropdown widget unit test (#5513)

* [AAE-2034] Radio Button displaued in read-only mode

* [AAE-2034] Added tests and disable for all radio group and not every button

* [AAE-1943] C309672 and C309675 into unit tests

* [AAE-1943] C309680 automated

* [AAE-1943] C309682 automated
This commit is contained in:
Baptiste Mahé
2020-02-28 14:03:13 +00:00
committed by GitHub
parent a9b49a1eb7
commit 7a79d5bebf
4 changed files with 335 additions and 0 deletions

View File

@@ -43,4 +43,12 @@ export class DropdownWidgetPage {
const dropdown = element(by.css(`${locator}`));
await BrowserVisibility.waitUntilElementIsVisible(dropdown);
}
async isWidgetVisible(fieldId): Promise<void> {
await this.formFields.checkWidgetIsVisible(fieldId);
}
async isWidgetHidden(fieldId): Promise<void> {
await this.formFields.checkWidgetIsHidden(fieldId);
}
}