fresh-doctor-14925
10/27/2022, 1:59 PMwait() that is holding you up here because the call resolves too quickly you could instead spy on the intercept and then assert there's been a successful call
cy.intercept('/some/endpoint', cy.spy().as('someEndpoint'))
...
cy.click()
cy.contains('#message', 'Request sent')
cy.contains('#message', 'Request received')
cy.get("@fruitEndpoint")
.should('have.been.calledOnce')