0.9.1
Released Released on July 2, 2015
Features:
cy.viewport()can now accept anorientationwhen providing apreset. Valid orientations arelandscapeandportrait.
Bugfixes:
The scaffolded
spec_helper.jsnow correctly returns its object literal in theonConsolecallback..type()now correctly logs its message to the Command Log when provided options..type()has been upgraded to handle situations where as it's typing, 3rd party code mutates the value either synchronously or asynchronously. The caret is automatically moved to the end position matching browser behavior.
Misc:
Deprecated
Cypress.command, instead useCypress.Log.commandto output a Command Log. Updated scaffolding on new projects to reflect this change.cy.contains()now outputs much more explicit error messages when given command options. Fixes #49.cy.route()no longer validatesresponsevalue when{respond: false}is passed in as options. Fixes #48..invoke()and.its()will now log out the $el if it's a DOM object, which will now correctly highlight the $el during a command revert. Additionally if these commands have been called on a DOM object, theironConsolemessage will include the DOM objects.