Releases: cypress-io/cypress
Releases · cypress-io/cypress
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 refreshicon tosquare-oto represent a test which has not run yet.
0.9.4
Released 07/06/2015
Features:
- cy.contains(), cy.get(), and traversal commandswill now all log out heir last known$elon failure. This means the$elwill 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 visibleandexistwhere it would always fail ven though the matched element was in the correct state.
Misc:
- cy.contains() now throws when provided the command option: lengthbecause it will only ever return 1 element.
0.9.3
Released 07/06/2015
Features:
- Proxied jQuery: $ontocyascy.$and specific class methods:Event,Deferred,ajax,get,getJSON,getScript,post.
- Proxied momentontocyascy.moment.
- The urlwill 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: positionargument (center,topLeft,topRight,bottomLeft,bottomRight). Center is still the default.
- .click() now accepts an optional xandycoordinate argument, which is relative to the top left corner of the element. Fixes #50.
- Click docs have been updated to reflect these changes.
Bugfixes:
- onBeforeLoadand- onLoadcallbacks to cy.visit() are now invoked with- cyas the context.
- Cypress logo now displays in About Page.
Misc:
- Internal refactoring to Cypress.Mouse.
0.9.2
Released 07/04/2015
Features:
- Added Aboutpage 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 base64string.
- 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 onConsolelogs 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 onConsolelog.
- cy.wait() now logs out when its referenced aliases, and its onConsoleoutput 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
0.6.12
Released 06/09/2015
Bugfixes:
- When Cypress detects a page loadingevent 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 clickfails.
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 CypressErrorinstead 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.