Cypress - v0.16.0
- Updating through the Desktop App in Linux does not work. To update please run
cypress installfrom the command line.
- We are still updating the docs to reflect all of these changes.
- All users must LOG IN AGAIN and re-add their projects. Sorry, we've changed the way we store local data.
- Running tests in Cypress now requires either Chrome, Chromium, or Canary to be installed on your OS environment. We intend to expand support for more browsers in the future, but for now, only these 3 are supported.
- Removed support for
- Changed return of cy.getCookies() to return an array of cookies, each with properties include name, value, etc.
- Changed return of cy.clearCookies() to return null (previously was returning Cookie that was cleared).
- Cypress.Cookies.debug() has been temporarily disabled and will be re-enabled later.
- Browsers are spawned in a Cypress specific profile so that we can maintain a clean state apart of your regular browsing usage. You will notice that your extensions are no longer installed. This is on purpose. 3rd party extensions can often get in the way of Cypress and cause failures. However, developer specific extensions for Angular, Ember, and React do not cause any issues but you'll want to reinstall them. You only have to install them once and they will persist.
whitelistcallback function of Cypress.Cookies.defaults() now receives a
cookie objectinstead of just the
cookies nameas a string.
- When a project is initially run from the desktop app, you can now choose to run Cypress in a select number of browsers including: Chrome, Chromium, or Canary (depending on what's installed on your OS).
- We automatically spawn Chrome in a custom theme so you can visually distinguish the difference between browser sessions spawned with Cypress vs your normal sessions. We know this may feel a little jarring because you're used to running Cypress alongside your other tabs. You will now see 2 chrome icons in your dock and you'll need to switch between them. We know this is problematic and confusing and we're looking into changing the icon of the Chrome running Cypress so it's easier to tell the Chrome sessions apart.
- Added new commands to handle getting, setting, and clearing cookies: cy.clearCookie(), cy.getCookie(), and cy.setCookie().
- All the
- Upgraded the Chromium version running headlessly and in CI from
- There is a new cy.exec() command that can execute any arbitrary system command. Additionally there is a new execTimeout configuration option which is set to
60sby default. Fixes #126.
- There is a new numTestsKeptInMemory configuration option that controls how many test's snapshots and command data is kept in memory while tests are running. Reducing this number will reduce the memory used in the browser while tests are running. Whatever this number is - is how many tests you can walk back in time when inspecting their snapshots and return values. Addresses #142.
- Cypress taskbar icon now displays correctly in OS X dark theme. Fixes #132.
- Fixed issue where server error's stack traces were being truncated in the Desktop app rendering them impossible to debug. Fixes #133.
- woff Fonts are now properly served from a local file system when using Cypress' web server. Fixes #135.
- When an element's center is not visible the error message now includes the stringified element in question, and not
- Typing into an
input[type=tel]now works. Fixes #141.
- XHR's which have their
onloadhandler replaced after
XHR#sendis called is now properly accounted for. Fixes #143.
- XHR requests for
.svgfiles are no longer shown in the Command Log by default. Addresses #131.
- Improved error when cy.request() fails. The request parameters are now included in the error. Addresses #134.
- When running a project in the new Cypress browser environment, if a new tab is opened, a message now displays discouraging the use of multiple tabs while testing. Addresses #9.
- When navigating directly to
localhost:2020outside of the new Cypress browser environment, a message now displays discouraging running tests outside of the new Cypress browser environment.
- If, for whatever reason, Cypress cannot communicate with the automation servers, your testing session will immediately end and you'll have the ability to re-spawn the browser.
- cy.fixture() now has a default timeout of
- cy.fixture() can now properly time out and accepts an
optionsargument that can override its default timeout.
- Improved initial Desktop Application startup performance by about
- We now correctly store local data in each operating system's correct
Application Dataarea. This will be more resilient to upgrades in the future.
- Running Cypress in a linux VM on VirtualBox no longer displays "black screens".
- Our internal proxy no longer strips
- Improved command errors and normalized many of them. Fixes #137.
- We now capture synchronous errors from XHR
July 19, 2018, 7:30 a.m.
Register or login to:
- 🔍View and search all Cypress releases.
- 🛠️Create and share lists to track your tools.
- 🚨Setup notifications for major, security, feature or patch updates.
- 🚀Much more coming soon!