0.11.4
Released 09/17/2015
Features:
- .should() now accepts a callback function which will be retried until it does not throw. The callback unction will be retried in the exact same way as passing regular string-based chainers to .should(). aving a callback function gives you an opportunity to massage the expected subject such as comparing multiple elements, creating an array of ext or classes, etc.
Deprecations:
cy.wait(function)
has been deprecated and you can safely rename this command to .should().
Misc:
- All of the docs surrounding assertions, .should(), and .and() have been updated to reflect the new API.