I'm fighting with the following button, trying to assert that it is disabled:
<button _ngcontent-c20 appsymbol="plus" class="btn btn-primary" type="button" disabled>
button.isEnabled()
returns true even though it is disabled. I know it is disabled from manually trying to click it, and because it says so in the tag.
Does anyone have any idea how I can test that it is actually disabled, or test that the tag contains 'disabled'?
I'm not trying to click the button, rather test that it is disabled because the form it belongs to has not been completed correctly.