https://cypress.io logo
Looks reasonable to me. You could shorten it with ...
# best-practices
f
Looks reasonable to me. You could shorten it with
Copy code
cy
          .wait('@myscript.js')
          .its('response.statusCode')
          .should('eq', 200)