Skip to content

Releases: cypress-io/cypress

0.12.4

19 Jul 07:28
Compare
Choose a tag to compare

Released 11/19/2015

Features:

Bugfixes:

  • Removed problematic content-security-policy headers
  • Fixed situation where Cypress was not injected correctly when <head> tag had attributes
  • Prevent fixtures from being accidentally overwritten and having their content blanked out. There was a very subtle chance due to node's async file writing that as a file was being written with a formatted fixture, that another call to the same fixture would read in at that exact moment. If this happened the 2nd read would resolve with zero bytes, which would then end up rewriting the file back with zero bytes.

Misc:

  • alerts are automatically accepted now and a message logs to the console.
  • Added retina favicon. Fixes #83.
  • Removed nested cypress object in the cypress.json. Existing cypress.json files are transparently rewritten on the next server boot, so you can check in the modified cypress.json and all will be well. Fixes #82.
  • Improved performance of formatting fixtures.

0.7.5

19 Jul 07:23
Compare
Choose a tag to compare

Released 06/19/2015

Bugfixes:

  • .click() now takes into account being covered by a fixed positioned element and will increase the window's scroll offset to account for this. There are still more improvements to be made before this is bulletproof though.
  • cy.contains() could potentially resolve to a null subject if the matching content was split across multiple nested children elements. This has been fixed and contains will now return the first, deepest element which contains text potentially spread over multiple text nodes and/or children elements.

0.12.3

19 Jul 07:28
Compare
Choose a tag to compare

Released 11/04/2015

Bugfixes:

  • Prevent .pause() from actually pausing during cypress run.
  • Fix for cy.request() SSL issues when host certificates were self signed.

0.7.4

19 Jul 07:23
Compare
Choose a tag to compare

Released 06/18/2015

Misc:

  • Attempting to .click() a select element will now throw an error. The error guides you to using the .select() command, as that is the command you should use to change a <select> value.
  • cy.route() responses are now validated. If responses are null or undefined Cypress will throw a very specific error message.
  • Cypress will now display cypress.json parse errors when attempting to boot a project when there is a syntax error in cypress.json.

0.7.3

19 Jul 07:23
Compare
Choose a tag to compare

Released 06/17/2015

Features:

  • .select() will now output a command log.
  • .select() will now have click / focus events fired on itself and the selected options (as per the pec).
  • .select() is now inline with the other Action commands and will retry until the element naturally becomes selectable.

Bugfixes:

  • Action command options are now properly formatted, instead of saying Object{4} they will display the overridden default options - ie: force, timeout, interval.
  • Sending {force: true} to Action commands will no longer error out if the element is not visible. Forcing the action to take place now correctly removes all error checking prior to issuing the action and events.

Misc:

  • Removed stack traces on AssertionErrors in the console since those come from chai and are basically useless.

0.11.13

19 Jul 07:28
Compare
Choose a tag to compare

Released 10/08/2015

Bugfixes:

  • Prevent rejected promise from causing error about invalid API key during a CI run.

Misc:

  • Better error handling of rejected promises.

0.11.12

19 Jul 07:28
Compare
Choose a tag to compare

Released 10/07/2015

Features:

  • Snapshots can now be named and a command can have multiple snapshots.
  • Multiple snapshots are now cycled automatically on hover, and the name of the snapshot is displayed.
  • Most of the action commands now take multiple snapshots (giving you a precise look at an action prior to it happening, and then afterwards).

Bugfixes:

  • Fixed situation where an Uncaught Error was not being properly handled. Cypress would incorrectly continue to retry commands instead of anceling them, which lead to incorrect errors downstream in other tests.
  • Fixed situation where an error being thrown from an XHR was being improperly handled (in a slightly different way than the problem above).
  • Stopped sending CI data when cypress run was issued.

Misc:

  • CSS Improvements

0.7.2

19 Jul 07:23
Compare
Choose a tag to compare

Released 06/17/2015

Bugfixes:

  • Removed factoring in the total time a test has been running when determining when its command timeout. This fixes a bug where commands down he chain would timeout earlier than their specified {timeout: num} option.

0.11.11

19 Jul 07:28
Compare
Choose a tag to compare

Released 10/04/2015

Bugfixes:

  • Snapshots of .type() and .select() are no longer incorrect due to aking snapshot too early. Fixes #22.
  • Passing {force: true} to .blur() now logs correctly in the Command Log.

Misc:

  • Added delays on some tooltips.
  • The URL will now highlight in a yellow background during a revert DOM snapshot.
  • Moved snapshot message to be affixed to the bottom of the remote app in preparation for cycling through multiple snapshots.
  • Cleaned up the URL by removing some unused content.

0.11.10

19 Jul 07:28
Compare
Choose a tag to compare

Released 10/04/2015

Features:

  • .blur() now accepts {force: true} which removes error checking such as validating the element is urrently in focus.

Bugfixes:

Misc:

  • Removed cy.inspect command.
  • Added Cypress logo to nav.
  • CSS changes.