title: Error adding loop for in array validation
body: <p>I'm not able to perform a for loop.
  I have an array. Within it, several objects. One of these, I need to make an expect.</p>
  <p>I can make several expects, but I believe it is not good practice, since the loop would fit.</p>
  <p>But how do I do it?
  I can not... =///</p>
  <pre><code>{
      &quot;testOne&quot;: [{
              &quot;situation&quot;: {
                  &quot;status&quot;: &quot;reproved&quot;
              }
          },
          {
              &quot;situation&quot;: {
                  &quot;status&quot;: &quot;rejected&quot;
              }
          },
          {
              &quot;situation&quot;: {
                  &quot;status&quot;: &quot;approved&quot;
              }
  
          }
      ]
  }
  </code></pre>
  <p>I need validate each status.</p>
  <p>How do I create the loop to go through all items in the array, in this case, status?</p>
  <p>Thanks</p>