title: Intercept the same API call multiple times in Cypress
body: <p>Is it possible to use <code>cy.intercept</code> to intercept the same API call multiple times in the same test? I tried the following:</p>
  <pre><code>cy.intercept({ pathname: &quot;/url&quot;, method: &quot;POST&quot; }).as(&quot;call1&quot;)
  // ... some logic
  cy.wait(&quot;@call1&quot;)
  
  // ... some logic
  
  cy.intercept({ pathname: &quot;/url&quot;, method: &quot;POST&quot; }).as(&quot;call2&quot;)
  // ... some logic
  cy.wait(&quot;@call2&quot;)
  </code></pre>
  <p>I would expect that <code>cy.wait(&quot;@call2&quot;)</code> would wait for the 2nd time the API gets called. However, the second <code>cy.wait</code> will continue immediately because the first API call is identical to the second one.</p>