What if my app is taking 50 sec after login to my ...
# e2e-testing
a
What if my app is taking 50 sec after login to my app? Does
wait-on
will also work?
cypress.exec("wait-on https://myapp.com/")
Copy code
js
cy.visit('/');
//Simulated the login 
// After login
// My app takes 40-50 sec time to load
cypress.exec("wait-on https://myapp.com/");
//Will that be correct?