0.20.1
Released Released on September 16, 2017
Features:
cypress runnow supports a--headedoption so the Electron browser will display instead of running headlessly. This matches what you can already do in the GUI. Fixes #657.
Bugfixes:
Using Cypress on nested projects now correctly works. Fixes #635.
Using
cy.typeon Angular 2 apps now works. We're now firing thekeyproperty when typing. We've properly mapped all the special keys too.onBeforeLoadnow gets invoked when overridingcy.visit. Fixes #656 and #640.Using multiple
cy.visitback to back which only change thehashnow properly wait for thehashchangeevent to occur before moving on. Fixes #652.CLI now displays the correct overridden
CYPRESS_BINARY_VERSIONon first open. Fixes #659.Fixed the incorrectly spelled chainer
descendents. It is now correctly spelled asdescendants. Fixes #642.The visibility algorithm has been considerably improved. Should fix most if not all visibility problems. We accounted for CSS transforms, translations, and added a new branch of logic for
position: fixedelements which should be much more accurate. Fixes #631.The CLI now treats
-hand--helpandhelpas valid commands. Fixes #645.
Misc:
You can now pass an object literal as
configwhen using Cypress as a node module. Fixes #639.Passing
--reportercan now reference an absolute path instead of just relative. Fixes #658.The algorithm that ensures an element is not covered now calculates this at the center coordinates instead of the top left. This should yield more accurate results, be closer to the default expectations of users, and bypass fractional pixel problems we were having. Fixes #655.
Improved crash reporting when the binary throws an uncaught error.
Documentation Changes: