Notes:
Overview:
- You can now run your tests in the Electron browser and will see it as an option in the browser dropdown. The Electron browser is a version of Chrome that ships with Electron. It's the browser used when running Cypress headlessly, so it may be useful for debugging issues that only occur during headless runs. Addresses #452
Features:
- New traversal commands
cy.nextAll,cy.nextUntil,cy.parentsUntil,cy.prevAll, andcy.prevUntilhave been added. Addresses #432
Bugfixes:
- An error is now thrown if an
undefinedvalue is mistakenly passed intocy.wait. Previously, it would set the command timeout to an unimaginably large number of ms. Fixes #332 - Fixed issue where the contents of
state.jsonwere emptied, which would cause a crash and loss of state information. Fixes #473 Fixes #474
Misc:
- Error handling for invalid arguments passed to
cy.waithas been improved and will now suggest valid arguments that are acceptable. - Browsers in the browser dropdown now have colored icons, which help visually distinguish the variants of Chrome.