0.12.2
Released Released on October 31, 2015
Features:
There is now a
cy.cmdandcy.commandmethod which enables you to invoke commands by their string name. This is most useful when using namespaced custom commands. SoCypress.addParentCommand("dashboard.setSlider", ...)can be accessed bycy.cmd("dashboard.setSlider", arg1, arg2). (Docs have not been written yet).Environment Variablesupport has been added and can be accessed in your tests withCypress.env. The docs have been written Environment Variable.
Misc:
The URL property on all XHR's is now completely decoded, even on URLs which were originally encoded. The reason is for easier assertions and debugging. This URL property is specific to Cypress and does not actually affect the underlying XHR.