title: Cypress get the data from cy.route
body: <p>I am using Cypress to test a ReactJs application. I need to grab some data from this request:</p>
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>cy.route('GET', '/user', 'fixture:USER/user').as('user');</code></pre>
  </div>
  </div>
  
  I tried this:</p>
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>Given('Check user', () =&gt; {
    cy.route('GET', '/user', 'fixture:USER/user').as('user');
    cy.wait('@user')
      .then(({ requestBody, responseBody, status }) =&gt; {
        expect(requestBody.name).to.eq('admin');
      });
  });</code></pre>
  </div>
  </div>
  
  But i got this:</p>
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>Timed out retrying after 5000ms: cy.wait() timed out waiting 5000ms for the 1st request to the route: user. No request ever occurred.Learn more</code></pre>
  </div>
  </div>
  </p>
  <p>Is there a possibility to get the result of the above request. I need this to check if user has a specific role, but the information about the user role is returned by the request above.<br>Who can help with this?</p>