diff --git a/lib/testing/src/lib/protractor/core/pages/material/dropdown.page.ts b/lib/testing/src/lib/protractor/core/pages/material/dropdown.page.ts index 183419c55d..81fbe6341a 100644 --- a/lib/testing/src/lib/protractor/core/pages/material/dropdown.page.ts +++ b/lib/testing/src/lib/protractor/core/pages/material/dropdown.page.ts @@ -66,7 +66,7 @@ export class DropdownPage { } async checkOptionIsSelected(option: string): Promise { - 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); }