I just started using the new intercept method and have a basic question and want to know how to chain the two assertions below in one test.
cy.intercept('GET', '/states').as('states');
cy.reload(true);
// cy.wait('@states').its('response.statusCode').should('eq',200)
cy.wait('@states').its('response.body').should('have.length', 50)
Both assertions work separately.