0.16.3
Released Released on June 16, 2016
Features:
cy.route()now accepts string glob patterns using minimatch under the hood. This means you can more easily route dynamic urls without usingregex. Example:cy.route('POST', '/users/*/comments', {}).Cypress.minimatchis now exposed so you can easily test globbing patterns..type()can now be used on non-input elements that have atabindexattribute. Key events will fire but no text content will change and no input based events fire. Fixes #172.There is now an
ignoreTestFilesconfiguration option that accepts an array ofglobpatterns. This enables you to ignore extraneous spec files that may be created during a build process. The default pattern is*.hot-update.jswhich will ignore dynamically generated webpack hot module swapping files. Fixes #159.
Bugfixes:
Fixed a bug where Cypress could get into a weird state and continuously error due to the
before:logevent not being properly disposed. Fixes #173.Fixed a bug where invalid UTF-8 characters were being set in XHR headers which caused XHR's to fail. We now properly encode and decode all values. Fixes #168.
Nested directories under
cypress/supportno longer cause a500when tests run. This was due to Cypress not ignoring directories and trying to serve them as regular files. Fixes #163.Fixed situations where 3rd party libraries (such as New Relic were instrumenting XHR's identical to Cypress' implementation. This caused an infinite loop which would crash the browser. We've updated how we instrument XHR's to take this into account and deployed multiple fallbacks and strategies to prevent this kind of thing from happening in the future. Fixes #166.
Misc:
Cypress.Server.defaults()now accepts aurlMatchingOptionsoption for passing options to minimatch.cypress run now exits with the number of test failures instead of always exiting with 0. This matches the same way
cypress ciworks. Fixes #167.In the Cypress CLI tool package version
0.11.1, you can now pass the--specoption tocypress ci. This enables you to run a specific spec file as opposed to all tests. Fixes #161.