0.12.6
Released Released on November 28, 2015
Features:
There are now Getting Started docs including configuration for
cypress.jsonCypress now silently restarts the server whenever it detects a change to
cypress.json- meaning you no longer have to manually reboot the server for changes to be picked up.There is a new
Cypress.configinterface - akin toCypress.envwhich provides access to configuration values.
Bugfixes:
Setup/Teardown code was not properly running on nested Mocha
beforehooks which caused the error:The XHR server is unavailable or missing.... Fixes #80 and #86.Prevent accidental mutation of
cy.server()options whency.route()was provided options. Fixes #84 and #85.Using
cy.title()would incorrectly search the<body>for title elements, and is now restricted to only searching in the<head>Cross-Origin requests are now proxied by Cypress. In other words their URL's are transparently rewritten which bypasses CORS problems. This is a quick fix which should satisfy most of the problems users were having with CORS requests. However there is a much bigger change coming in
0.14.0where the entire proxy layer will be rewritten to accommodate CORS,window.fetchanddomain cookiesflawlessly. As it stands Cypress is prone to errors in complex setups.
Misc:
Exposed
visitTimeoutandrequestTimeoutconfiguration.Increased
visitTimeoutfrom20sto30s..click()will now throw if you are attempting to click more than 1 element. Pass{multiple: true}to enable this behavior again. Each element will be clicked serially and inserted into the Command Log.