0.11.4
Released Released on September 16, 2015
Features:
.should()now accepts a callback function which will be retried until it does not throw. The callback function will be retried in the exact same way as passing regular string-based chainers to.should(). Having a callback function gives you an opportunity to massage the expected subject such as comparing multiple elements, creating an array of text 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.