mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
Fixed selected element on dropdown selector
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user