https://cypress.io logo
It looks to me like you're just looking to assert ...
# e2e-testing
f
It looks to me like you're just looking to assert that the call was successful?
Copy code
cy.intercept("POST","/api/something").as('apiSomething')
...
cy.wait('@apiSomething')
  .its('response.status')
  .should('be', 200)