title: Assert request hasn't happened
body: <p>I have following test</p>
  
  <pre><code>it('does not trigger request', () =&gt; {
      cy.shortcutThatTriggersRequest()
  
      cy.route({
        method: 'POST',
        url: '[url]',
        onRequest: () =&gt; {
          cy.contains('request was invoked').should('exist')
        },
      })
  
      cy.wait(1000)
  })
  </code></pre>
  
  <p>which does what I want to do - if given request has happened, it will fail the test and if it didn't then the test will pass.</p>
  
  <p>There're two troublesome things with it though:</p>
  
  <ul>
  <li>I'm getting <code>Cypress detected that you returned a promise from a command while also invoking one or more cy commands in that promise.</code>; I can't omit the <code>wait</code> as otherwise the test will be marked as passing (test ends while request is being resolved, test is marked as passing and failure happens afterwards); this happens only when request was made (which makes sense as <code>route</code> isn't being triggered, so no <code>contains</code> can trigger at the same point as <code>wait</code> I guess)</li>
  <li>I'm relying on <code>cy.contains('request was invoked').should('exist')</code> to mark the test as failing. I don't want to do that; while no such string will ever exist, it's a workaround; ideally I'd want to co <code>cy.fail()</code> but I don't see such method</li>
  </ul>