Skip to content

0.9.3

Compare
Choose a tag to compare
@bahmutov bahmutov released this 19 Jul 07:27

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.