gray-father-52711
03/15/2023, 8:10 AMpending status) the app is displaying some network error notification. I want to test that:
- before 30s a spinner is visible
- after 30s a network error notification is visible
I've added an intercept for this call and delayed the response for more than 30s and it works, test is passing, but the test takes too much time.
So my question is: can I use cy.clock and cy.tick somehow to control the time on the frontend and make the test to run much faster? 🙏gray-kilobyte-89541
03/15/2023, 10:44 AM