<select id="cbCategory" ui-select2 name="cbCategory" ng-model="categoryCombo.category"
class="show-tick form-control comboBlue" ng-change="loadPrice()" required>
<option ng-repeat="category in Categories" value="{{category}}"
{{category.Name}}</option>
</select>
When the select element above does not have the ng-change
attribute, it functions correctly with the following solutions:
1.
element.all(by.repeater('category in Categories').row(0)).click();
2.
element(by.id("cbCategory")).sendKeys('Category1');
However, when the ng-change
attribute is included in the select element, both of these solutions do not work as expected.