Skip to content

Releases: cypress-io/cypress

0.10.2

19 Jul 07:27

Choose a tag to compare

Released 08/10/2015

Bugfixes:

  • Memory Optimizations in CI.
  • Reduce noise in logs.
  • Prevented external NODE_ENV mutations causing problems in CI.

Misc:

  • Better error tracing.

0.9.6

19 Jul 07:27

Choose a tag to compare

Released 07/27/2015

Bugfixes:

  • Fixed server crash on improperly handled proxy error.
  • Upgraded logic to redirect back to the Cypress client app on manual URL changes.

0.9.5

19 Jul 07:27

Choose a tag to compare

Released 07/14/2015

Features:

Misc:

  • Swapped out ugly nonsense refresh icon to square-o to represent a test which has not run yet.

0.9.4

19 Jul 07:27

Choose a tag to compare

Released 07/06/2015

Features:

  • cy.contains(), cy.get(), and traversal commands will now all log out heir last known $el on failure. This means the $el will be highlight during Command Log hovering, and will display in the console on click. his should make debugging failed DOM based commands much easier. Fixes #52.

Bugfixes:

  • Fixed edge case with cy.contains() and command options visible and exist where it would always fail ven though the matched element was in the correct state.

Misc:

  • cy.contains() now throws when provided the command option: length because it will only ever return 1 element.

0.9.3

19 Jul 07:27

Choose a tag to compare

Released 07/06/2015

Features:

  • Proxied jQuery: $ onto cy as cy.$ and specific class methods: Event, Deferred, ajax, get, getJSON, getScript, post.
  • Proxied moment onto cy as cy.moment.
  • The url will now automatically be restored when hovering over the Command Log to indicate the state of the URL at the time the command ran.
  • .click() now accepts an optional: position argument (center, topLeft, topRight, bottomLeft, bottomRight). Center is still the default.
  • .click() now accepts an optional x and y coordinate argument, which is relative to the top left corner of the element. Fixes #50.
  • Click docs have been updated to reflect these changes.

Bugfixes:

  • onBeforeLoad and onLoad callbacks to cy.visit() are now invoked with cy as the context.
  • Cypress logo now displays in About Page.

Misc:

  • Internal refactoring to Cypress.Mouse.

0.9.2

19 Jul 07:27

Choose a tag to compare

Released 07/04/2015

Features:

  • Added About page in desktop application annotating the current version.
  • cy.fixture() now supports these additional extensions: .html, .txt, .png, .jpg, .jpeg, .gif, .tif, .tiff.
  • Image fixtures will be sent back as a base64 string.
  • Html fixtures will be prettified and saved back over the original.

Misc:

  • Added more tests around various areas of the desktop application and ID generator.

0.7.6

19 Jul 07:23

Choose a tag to compare

Released 06/23/2015

Bugfixes:

  • Prevent infinite loop due to a trifecta of rare circumstances with .click(). Clicking will now retry sync after it attempts to scroll past the element covering up the desired clickable element. Fixes #46.

0.6.14

19 Jul 07:22

Choose a tag to compare

Released 06/11/2015

Features:

  • Command logging has been upgraded to support "page events", which are different than commands. Now events which happen (XHR/page load/url change/spies/stubs/mocks) log out visually differently and do not use a command number. This should be easier to parse what was a real command and what was a page event.
  • When the url changes this is now logged as a page event, and its onConsole logs what caused it to change.

Misc:

  • Internal refactor / improvements to support long lived runnable objects to work with page events.
  • Request Commands (now page events) have now been renamed to 'XHR'.
  • cy.document() now returns the raw document object instead of a jQuery wrapped document object.
  • When .its() or .invoke() fails it will include the current subject n the onConsole log.
  • cy.wait() now logs out when its referenced aliases, and its onConsole output displays the XHR return values.
  • cy.hash() and cy.url() no longer pass the return value as the command log's message, which made no sense and was unlike every other command.

0.6.13

19 Jul 07:22

Choose a tag to compare

Released 06/09/2015

Bugfixes:

  • Traversal methods now correctly return their $el even when {log: false} option is passed.

Misc:

  • .type() now works with contenteditable attributes.

0.6.12

19 Jul 07:22

Choose a tag to compare

Released 06/09/2015

Bugfixes:

  • When Cypress detects a page loading event it will now clear out the subject so the next commands cannot reference previous page DOM elements.
  • .check() and .uncheck() will no longer output additional error'd commands when their associated click fails.

Misc:

  • .type(), .clear(), .check(), .uncheck() now all take {force: true} options to force the click to happen and skip additional clickable checks.
  • Now when you click the giant yellow failure messages if the error is a CypressError instead of logging nothing it will now find the command associated to that error and display the same message as if you clicked the failed command.