https://cypress.io logo
What is the correct way (or more common way) to as...
# help
s
What is the correct way (or more common way) to assert on a
.wait('@getThing')
when the yielded subject is an Interceptor? I want to assert on both response status, body, and request url. I saw
cy.wait("@updateUser").its("response.statusCode").should("equal", 204);
from Cypress RWA but I couldn't understand how to chain multiple
.its
or
.should
in this instance. Perhaps a following
cy.get('@getThing')
after the
.wait
?