title: How to test the children of an element in cypress?
body: <p>If I have these elements</p>
  
  <pre><code>&lt;div class="diffed-chunks"&gt;
      &lt;div class="diffed-chunk diffed-chunk--pending"&gt;&lt;/div&gt;
      &lt;div class="diffed-chunk"&gt;1&lt;/div&gt;
      &lt;div class="diffed-chunk"&gt;2&lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>Is there a simpler way of testing it than doing this?</p>
  
  <pre><code>cy.get('.diffed-chunks .diffed-chunk').as('diffed-chunks');
  cy.get('@diffed-chunks')
    .eq(0)
    .should('have.class', 'diffed-chunk--pending');
  cy.get('@diffed-chunks')
    .eq(1)
    .should('have.text', '1');
  cy.get('@diffed-chunks')
    .eq(2)
    .should('have.text', '2')
  </code></pre>