Cypress. Why is my route alias not matching? : <p>My POST request to ocr/receipt is never matched. I've...</p>

<ul>
<li>created a route, matching **/ocr/**, specifying POST, and given it an alias.</li>
<li>called <code>wait()</code> with a long timeout.</li>
</ul>

<p>I can watch the request complete in the network pane while the wait spinner turns happily in the test pane. Why is Cypress not matching this route?</p>

<pre><code>beforeEach(function () {
    cy.route('POST','**/ocr/**').as('ocr');
});
it('Création frais depuis le bouton « appareil photo »', function () {
    cy.get('.in-progress').first().click()
    cy.wait('@ocr', {'timeout':15000});
    cy.get('#grpChoices &gt; :nth-child(1)').click();
});
</code></pre>

<p><a href="https://i.stack.imgur.com/4xJ7K.png" rel="noreferrer"><img src="https://i.stack.imgur.com/4xJ7K.png" alt="enter image description here"></a></p>
