Is it possible to check if the text of the span within the button is "Vigente" using expect and Jasmine? If so, how can I achieve this?
<button _ngcontent-hke-28="" class="btn btn-success disabled" tabindex="-1">
<span _ngcontent-hke-28="" class="glyphicon glyphicon-check">
</span> Vigente</button>
Would xpath work in this way:
/html/body/application/auth-container/layout/div/main-content/div/norma-cadastro/div/form/div[8]/div/button/text(Vigente)