Skip to content

0.11.4

Compare
Choose a tag to compare
@bahmutov bahmutov released this 19 Jul 07:28

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: