title: Get a text in the span, using protractor
body: <p>I need to check, using expect and Jasmine, if the text of the span in the button is "Vigente". How can I do it?</p>
  
  <pre><code>&lt;button _ngcontent-hke-28="" class="btn btn-success disabled" tabindex="-1"&gt;
  &lt;span _ngcontent-hke-28="" class="glyphicon glyphicon-check"&gt;
  &lt;/span&gt; Vigente&lt;/button&gt;
  </code></pre>
  
  <p>Can I use xpath like this:</p>
  
  <blockquote>
    <p>/html/body/application/auth-container/layout/div/main-content/div/norma-cadastro/div/form/div[8]/div/button/text(Vigente)</p>
  </blockquote>