Skip to content

Releases: cypress-io/cypress

0.5.7

19 Jul 07:14
Compare
Choose a tag to compare

Released 04/23/2015

Features:

  • The insanity that is URL parsing to figure out absolute, relative, absolute-path-relative, http, sub domains, and local files should work in most cases. In other words, Cypress has implemented the vast majority of url parsing based on the 'w3c URL spec' 'https://url.spec.whatwg.org'.

Bugfixes:

  • Prevent reverting the DOM while tests are running. Fixes #28.
  • Fix edge case with forced focusing / blurring an element when document is not in focus and the element is no longer in the DOM.
  • Visiting relative paths which are served from your file system works again.
  • Visiting absolute paths in the iframe now displays the correct URL in the address bar again.

0.5.6

19 Jul 07:14
Compare
Choose a tag to compare

Released 04/22/2015

Features:

  • Cypress now detects the difference between a forced async done test timeout vs a regular command timeout, and will throw the appropriate message indicating whether the user forgot to simply invoke done or whether the timeout happened due to a command.

Bugfixes:

  • cy.visit() now properly times out when the load event does not occur within the time out window.
  • If a page loads after a cy.visit() times out it will no longer cause an exception in the onBeforeLoad handler.

Misc:

  • Increased cy.visit() timeout from 15s to 20s.
  • cy.visit() now throws a custom error message when it times out (instead of an incorrect / confusing default mocha timeout message).
  • Using a debugger while running a test will no longer always cause the test to time out (yay!).
  • Override default mocha timeout handling, replaced with custom logic. Removes many bizarre edge cases.