The following way of selecting a mat-option fails:
No element found using locator: by.cssContainingText("mat-option", "København K")
element(by.id('area')).element(by.cssContainingText('mat-option', 'København K')).click();
here is the HTML:
<mat-select id="area" formControlName="area" placeholder="Working area">
<mat-option *ngFor="let area of areas" [value]="area">
{{ area }}
</mat-option>
I don´t see why it fails.