Skip to content

Commit

Permalink
Fixed selected element on dropdown selector
Browse files Browse the repository at this point in the history
  • Loading branch information
VitoAlbano committed Nov 29, 2023
1 parent ee4f03a commit 1f22b80
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export class DropdownPage {
}

async checkOptionIsSelected(option: string): Promise<void> {
const selectedOption = this.dropDownElement.element(by.cssContainingText('.mdc-list-item__primary-text', option));
const selectedOption = this.dropDownElement.element(by.cssContainingText('.mat-mdc-select-value-text span', option));
await BrowserVisibility.waitUntilElementIsVisible(selectedOption);
}

Expand Down

0 comments on commit 1f22b80

Please sign in to comment.