0.5.6
Released 04/22/2015
Features:
- Cypress now detects the difference between a forced async
done
test timeout vs a regular command timeout, and will throw the appropriate message indicating whether the user forgot to simply invokedone
or whether the timeout happened due to a command.
Bugfixes:
- cy.visit() now properly times out when the
load
event 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 the
onBeforeLoad
handler.
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
debugger
while 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.