title: How can i wait for each element in a list to update to a certain text using cypress
body: <p>Let´s say that i have a list with items with different colors. That list can be updated to only list blue items if i add a parameter. How can i verify that the each item is correct?</p>
  
  <pre><code>cy.addParameter('blue'); //Will send graphQL query to fetch the correct items. 
  
  cy.get('data li').each((item)=&gt; {
           cy.wrap(item).should('have.text', ' blue ');
         });
  </code></pre>
  
  <p>This will fail because the items in the list has not been updated before i have the possibility to check each item. It´s possible to wait for the request to finnish, but as the queries saves after the first run that "check" won´t work the second time.  </p>