title: CYPRESS - Finding and yielding a table row that contains some text
body: <p>Im trying to get the entire row that contains some text in the child elements. I want to later manipulate it but when I try: </p>
  
  <pre><code>cy.get('.tr').contains('Example Text')
  </code></pre>
  
  <p>... it always yields/returns the span element. I'd like to point to the div of a "tr" class which contains the text. (I've tried using parent() but then it's 2 elements down so using parent().parent() is not the solution I'm guessing).</p>
  
  <p>e.g. code</p>
  
  <pre><code>&lt;div class="tr"&gt;
      &lt;div class="something"&gt;
          &lt;span&gt;Example Text&lt;/span&gt;
      &lt;div class="something-else"&gt;
  &lt;div class="tr"&gt;
  &lt;div class="tr"&gt;
  &lt;div class="tr"&gt;
  &lt;div class="tr"&gt;
  &lt;div class="tr"&gt;
  </code></pre>