Released 11/19/2015
Features:
- There is a new
Cypress.Cookies
interface which enables you toget
,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.