I need to check aria-hidden="true" or "false" depending on the click
<tr ng-class="{'submitted' : (position.submitted) }" ng-repeat-
start="position in demandFactory.openings | orderBy:sortType:sortReverse">
<td><span ng-click="openDemand(position.demandID)"><span ng-show="position.demandID == demandFactory.selectedDemand">
<span class="glyphicon glyphicon-menu-down glyphicon-small" aria-hidden="true"></span>
</span>
<span ng-show="position.demandID != demandFactory.selectedDemand">
<span class="glyphicon glyphicon-menu-right glyphicon-small" aria-hidden="true"></span>
</span></span>
<span class="jobName"> {{ position.name }} </span>
</td>
<td>{{ position.demandID }}</td>
<td>{{ position.rotation }}</td>
<td>{{ position.headcount }}</td>
<td>{{ position.num }}</td>
<td>{{ position.approved }}</td>
</tr>
In the test case I have accessed the element but could get the check aria-hidden value.
var aPromiseOfRows = element.all(by.repeater('position in demandFactory.openings').row(0).column("position.name"));
aPromiseOfRows.getText().then(function(text) {
console.log(text);
});