We were unable to load Disqus. If you are a moderator please see our troubleshooting guide.

Filip Malek • 3 years ago

Thank you for the super crucial part that no one on cypress docs mentioned: The need to chain .visit() after we run cy.clock(...args).
It's insane! I spent a day trying to get it to work without success and this article came as a god send!

Aashik08 • 5 years ago

Can we use cy.clock() to measure the time taken for certain task in UI test ? For example: we want to check how long did it take to load the data once we click on certain list button.

Przemek • 5 years ago

Nope cy.clock is not designed for this.

Please check out this repo: https://github.com/bahmutov...
and https://developer.mozilla.o...

:)