0.5.6
Released Released on April 21, 2015
Features:
Cypress now detects the difference between a forced async
donetest timeout vs a regular command timeout, and will throw the appropriate message indicating whether the user forgot to invokedoneor whether the timeout happened due to a command.
Bugfixes:
cy.visit()now properly times out when theloadevent does not occur within the time out window.If a page loads after a
cy.visit()times out it will no longer cause an exception in theonBeforeLoadhandler.
Misc:
Increased
cy.visit()timeout from 15s to 20s.cy.visit()now throws a custom error message when it times out (instead of an incorrect / confusing default Mocha timeout message).Using a
debuggerwhile running a test will no longer always cause the test to time out (yay!).Override default Mocha timeout handling, replaced with custom logic. Removes many bizarre edge cases.