I am trying to write an end to end protractor test and I am stuck with checking if the checkbox is enabled or not since it does not have the checked property or anything. Is there any way in javascript we could check from a list by getting an element and check if it is checked and if it is checked get the text for that.
This is what i have for the HTML:
<li>
<div _ngcontent-c8="" class="ng-tns-c8-2" >
<input _ngcontent-c8="" class="ng-tns-c8-2" type="checkbox" id="Team TableAccepted">
<label _ngcontent-c8="" class="ng-tns-c8-2" for="Team TableAccepted">Accepted</label></div>
</li>