Skip to content

Commit

Permalink
[AAE-5840] Adding dropdown method needed for e2e test (#7494)
Browse files Browse the repository at this point in the history
* [AAE-5840] Automate manual test

* trigger travis
  • Loading branch information
rafalszmit committed Feb 8, 2022
1 parent 8048cbe commit 5b4d49b
Showing 1 changed file with 4 additions and 0 deletions.
Expand Up @@ -44,6 +44,10 @@ export class DropdownPage {
return BrowserActions.getText($('mat-form-field span'));
}

async getDropdownOptionList(): Promise<string> {
return BrowserActions.getArrayText(this.dropDownElement.$$(`[role*='option']`));
}

async getNumberOfOptions(): Promise<number> {
const dropdownOptions = $$('.mat-select-panel mat-option');
return dropdownOptions.count();
Expand Down

0 comments on commit 5b4d49b

Please sign in to comment.