Releases: cypress-io/cypress
Releases · cypress-io/cypress
0.11.5
Released 09/20/2015
Features:
- The Linuxversion of Cypress now works correctly for GUI Desktop versions (tested on Ubuntu Desktop). Previously it would only worked duringcypress runin server versions. Thetrayused in OSX does not work with theLinux, so inLinuxwe just use a standard window + menu.
- Added Desktop Icon.
Bugfixes:
- Cypress now forces the initial cy.visit() not to be cached by the browser. This was incorrectly being ached which meant when you changed the cy.visit() it would not actually go out and fetch the new contents. reviously you had to check Disable Cachein theNetwork Tabinside of Chrome to prevent this bug. Unfortunately this has a significant erformance drawback. If you use a cy.visit() before each test you will notice a degrade in performance ecause this request is no longer cached. This is a temporary problem until Cypress implements a more sophisticated caching strategy which ptimizes these concerns. There is a lot to improve in this arena but it will take more time before it's implemented.
- .should() will no longer throw an error when it is used as a parent commandand has a callback unction signature, and that callback function throws outside of an assertion. Instead now it logs correctly, handles the error, and displays his error for you.
Misc:
- Many additional tests added to the multi-os deployment process.
- When Cypress opens other windows they are now auto-focused.
0.11.4
Released 09/17/2015
Features:
- .should() now accepts a callback function which will be retried until it does not throw. The callback unction will be retried in the exact same way as passing regular string-based chainers to .should(). aving a callback function gives you an opportunity to massage the expected subject such as comparing multiple elements, creating an array of ext or classes, etc.
Deprecations:
- cy.wait(function)has been deprecated and you can safely rename this command to .should().
Misc:
- All of the docs surrounding assertions, .should(), and .and() have been updated to reflect the new API.
0.11.3
Released 09/16/2015
Features:
- When XHR's are aborted Cypress will display the stack trace indicating where in your app the XHR was aborted. Additionally it will display s (aborted)in the command log.
Bugfixes:
0.11.2
0.10.8
0.10.7
Released 08/16/2015
Features:
- Port can now be specified as a CLI argument and will override any values stored in cypress.json.
Misc:
- When running through the CLI, Cypress will now display an error if the server's port is currently in use. Previously this would not output an rror and the process would just hang.
0.10.6
0.10.5
Released 08/13/2015
Bugfixes:
- Running a specific test won't open/close immediately when starting up (fixes weird flickering effect).
- .check() and .uncheck() commands will now correctly "end" even if they were noopdue to the element already being in a checked or unchecked state.
Misc:
- Currently running tests now display a spinner to indicate they are currently running.
- Optimized performance of command lists.
- Commands which were silenced with {log: false}will now always display in the Command Log if they were part of a replayed chain of commands ue to an alias reference becoming stale. Previously they would not display which was very confusing.
- sinon.jsis no longer minified.
0.10.4
Released 08/11/2015
Bugfixes:
- The OSX Cypress App was not being properly signed (since 0.10.0) due to an oversight in our deployment process. This has been fixed now and dditional checks have been added to ensure the deploy'd version is properly signed. Updating within the app was unaffected. This bug only ffected fresh downloads from the internet.
- Errors / crashes encountered when updating to newer versions through the app should be fixed now.
0.10.3
Released 08/10/2015
Bugfixes:
- Cypress Errors in hooks(beforeEach, etc) will no longer cause Mocha to fire itsendevent 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 retrylogic. Previously this check only appened once at the beginning of the click.
- In CI, the window size (not the viewport) has been changed from 1024x768to1280x720. This will only affectscreenshotartifacts which re taken automatically with cy.screenshot() (coming soon) or whenever a test fails (also coming soon).