Releases: cypress-io/cypress
Releases · cypress-io/cypress
0.10.3
Released 08/10/2015
Bugfixes:
- Cypress Errors in
hooks
(beforeEach, etc) will no longer cause Mocha to fire itsend
event thus ending the entire run. In CI, this would ause the test suite to end early. Uncaught Mocha errors will however continue this behavior. Cypress does not yet have a "skipped" visual state or tests which were skipped, so at the moment it may look a little strange and unpredictable.
Misc:
- Tweaked clicking algorithm to re-verify an elements visibility anytime the click retries its
retry
logic. Previously this check only appened once at the beginning of the click. - In CI, the window size (not the viewport) has been changed from
1024x768
to1280x720
. This will only affectscreenshot
artifacts which re taken automatically with cy.screenshot() (coming soon) or whenever a test fails (also coming soon).
0.10.2
0.9.6
0.9.5
Released 07/14/2015
Features:
- .click(), .type(), .clear(), .select(), .check(), .uncheck() now will wait for the subject to automatically become visible instead of throwing immediately if the element is not in a visible state.
Misc:
- Swapped out ugly nonsense
refresh
icon tosquare-o
to represent a test which has not run yet.
0.9.4
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
andexist
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
Released 07/06/2015
Features:
- Proxied jQuery:
$
ontocy
ascy.$
and specific class methods:Event
,Deferred
,ajax
,get
,getJSON
,getScript
,post
. - Proxied
moment
ontocy
ascy.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
andy
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
andonLoad
callbacks to cy.visit() are now invoked withcy
as the context.- Cypress logo now displays in
About Page
.
Misc:
- Internal refactoring to
Cypress.Mouse
.
0.9.2
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
0.6.14
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.