Javascript – How can I do stuff when cy.wait() times out?
This code waits for a response and does things once it arrives. How can I do stuff when wait times out? cy.wait('@login').then((interception) => { const token = interception.response.body.token Cypress.env('ACCESS_CODE', token) });