title: Assert content of cell based on content of a cell in the same row with Cypress
body: <p>I just started using Cypress for test automation to see if I like it but I running into a small problem. I want to assert the content of a cell based on a value in another cell in the same row. In the example below the first row contains a user that has finished registering, the cells are all filled. On the second row a new account is visible which has not yet been completed by the user. Cells such as first name and last name are still empty. Display: -
  Now I want to verify that the first cell of the row containing 'usermanagementtest@test.com' in the third column contains '-'. There is no way for me to know on what row this will be displayed.</p>
  
  <p>I start by asserting there is a cell visible containing the given email address:</p>
  
  <pre><code>cy.get('.module-user--list tr').find('td').contains('usermanagementtest@lukkien.com').should('be.visible')
  </code></pre>
  
  <p>but now I would like to assert the value of the first column on that same row.</p>
  
  <pre><code>&lt;tbody&gt;
          &lt;tr&gt;
              &lt;td&gt;John&lt;/td&gt;
              &lt;td&gt;Doe&lt;/td&gt;
              &lt;td&gt;j.doe@test.com&lt;/td&gt;
              &lt;td&gt;0321654987&lt;/td&gt;
          &lt;/tr&gt;        
          &lt;tr&gt;
              &lt;td&gt;-&lt;/td&gt;
              &lt;td&gt;-&lt;/td&gt;
              &lt;td&gt;usermanagementtest@test.com&lt;/td&gt;
              &lt;td&gt;-&lt;/td&gt;
          &lt;/tr&gt;       
  &lt;/tbody&gt;
  </code></pre>