Releases: cypress-io/cypress
Releases · cypress-io/cypress
0.12.4
Released 11/19/2015
Features:
- There is a new Cypress.Cookies interface which enables you to
get
,set
, and evenpreserve
cookies throughout your test. Useful to preserve cookie-based sessions between your tests. Documentation is written here.
Bugfixes:
- Removed problematic
content-security-policy
headers - Fixed situation where Cypress was not injected correctly when
<head>
tag had attributes - Prevent fixtures from being accidentally overwritten and having their content blanked out. There was a very subtle chance due to node's async file writing that as a file was being written with a formatted fixture, that another call to the same fixture would read in at that exact moment. If this happened the 2nd read would resolve with zero bytes, which would then end up rewriting the file back with zero bytes.
Misc:
alerts
are automatically accepted now and a message logs to the console.- Added retina favicon. Fixes #83.
- Removed nested
cypress
object in thecypress.json
. Existingcypress.json
files are transparently rewritten on the next server boot, so you can check in the modifiedcypress.json
and all will be well. Fixes #82. - Improved performance of formatting fixtures.
0.7.5
Released 06/19/2015
Bugfixes:
- .click() now takes into account being covered by a fixed positioned element and will increase the window's scroll offset to account for this. There are still more improvements to be made before this is bulletproof though.
- cy.contains() could potentially resolve to a null subject if the matching content was split across multiple nested children elements. This has been fixed and contains will now return the first, deepest element which contains text potentially spread over multiple text nodes and/or children elements.
0.12.3
0.7.4
Released 06/18/2015
Misc:
- Attempting to .click() a select element will now throw an error. The error guides you to using the .select() command, as that is the command you should use to change a
<select>
value. - cy.route() responses are now validated. If responses are
null
orundefined
Cypress will throw a very specific error message. - Cypress will now display
cypress.json
parse errors when attempting to boot a project when there is a syntax error incypress.json
.
0.7.3
Released 06/17/2015
Features:
- .select() will now output a command log.
- .select() will now have
click
/focus
events fired on itself and the selected options (as per the pec). - .select() is now inline with the other
Action
commands and will retry until the element naturally becomes selectable.
Bugfixes:
Action
command options are now properly formatted, instead of sayingObject{4}
they will display the overridden default options - ie:force
,timeout
,interval
.- Sending
{force: true}
toAction
commands will no longer error out if the element is not visible. Forcing the action to take place now correctly removes all error checking prior to issuing the action and events.
Misc:
- Removed stack traces on
AssertionErrors
in the console since those come fromchai
and are basically useless.
0.11.13
0.11.12
Released 10/07/2015
Features:
- Snapshots can now be named and a command can have multiple snapshots.
- Multiple snapshots are now cycled automatically on hover, and the name of the snapshot is displayed.
- Most of the action commands now take multiple snapshots (giving you a precise look at an action prior to it happening, and then afterwards).
Bugfixes:
- Fixed situation where an
Uncaught Error
was not being properly handled. Cypress would incorrectly continue to retry commands instead of anceling them, which lead to incorrect errors downstream in other tests. - Fixed situation where an error being thrown from an XHR was being improperly handled (in a slightly different way than the problem above).
- Stopped sending CI data when
cypress run
was issued.
Misc:
- CSS Improvements
0.7.2
0.11.11
Released 10/04/2015
Bugfixes:
- Snapshots of .type() and .select() are no longer incorrect due to aking snapshot too early. Fixes #22.
- Passing
{force: true}
to .blur() now logs correctly in the Command Log.
Misc:
- Added delays on some tooltips.
- The URL will now highlight in a yellow background during a revert DOM snapshot.
- Moved snapshot message to be affixed to the bottom of the remote app in preparation for cycling through multiple snapshots.
- Cleaned up the URL by removing some unused content.
0.11.10
Released 10/04/2015
Features:
- .blur() now accepts
{force: true}
which removes error checking such as validating the element is urrently in focus.
Bugfixes:
- .pause() is now noop during
cypress run
orcypress ci
.
Misc:
- Removed
cy.inspect
command. - Added Cypress logo to nav.
- CSS changes.