Released 01/24/2016
Features:
- Added
cy.reload()
command which does a full page refresh. This is the same as the user hitting the 'Reload' button. Additionally it matches the same argument signature aswindow.location.reload
.
Bugfixes:
- Fixed situation where
cy.viewport()
would not restore correctly between tests. Previously this would cause subsequent tests to be issued at the modifiedcy.viewport()
. Now viewport is automatically restored to the settings in yourcypress.json
file.
Misc:
- Using
.its()
on a function or.invoke()
on a property now logs a deprecation warning. In the next major release this will become a full error. It is valuable to make a distinction whether you're operating on a property vs a function, and this change improves overall readability with less confusion. - Cypress deprecations and warnings are now prefixed with:
Cypress Warning:
to indicate this message is coming from Cypress