0.11.6
Released 09/25/2015
Bugfixes:
- Viewport is now properly restored to the default width / height after on subsequent runs. Previously it would retain the last viewport sized sed until there was a new viewport command.
cy.should('contain', '...')
now correctly escapes quotes and single quotes.- Assertion messages are no longer truncated, and instead will scale down by reducing the
font-size
andline-height
after they exceed 110 characters. So you'll now always see the full assertion message. - Fixed some scenarios where assertions would not be logged as a child command.
- Assertions based around the
window
ordocument
object no longer causechai
to bomb on formatting their object structures (due to yclic references) and instead now will show up as<window>
and<document>
.
Misc:
- cy.window() now logs out to the
Command Log
and additionally verifies upcoming assertions. - cy.document() now logs out to the
Command Log
and additionally verifies upcoming assertions. - Removed
numElements
label on assertions which indicated the number of elements found if > 1. This was annoying and redundant since the inked command already had this number.