var spinner = element(by.css('.glyphicon.glyphicon-ok.green:not(.ng-hide)'));
expect(spinner.isDisplayed()).toBeTruthy();
spinner.click();
when I execute this always receiving an error as
ElementNotVisibleError: element not visible
I want to select this element
<span class="glyphicon glyphicon-ok green" data-ng-show="Choice.IsCorrect"/>
and not to select other element as
<span class="glyphicon glyphicon-ok green ng-hide" data-ng-show="Choice.IsCorrect"/>