Cypress v3.8.0 Release Notes
Release Date: 2019-12-12 // over 4 years ago-
๐ Released 12/12/2019
๐ Features:
- ๐ป Chrome can now be run in headless mode by using
cypress run --headless --browser chrome
. Addresses #832. - Cypress now accepts a
--tag
argument to be used to identify separate runs. Any tags assigned will be shown on the run in the Cypress Dashboard. Addresses #2561. - ๐ฒ The commands
.its()
and.invoke()
now accept anoptions
object to allow changing logging options. Addresses #1450. - Cypress will now attempt to use the
unzip
binary duringcypress install
before trying the slower, Node.js-based unzipping method. Addresses #3803. - โฌ๏ธ Upgraded Electron to 7.1.4. This bumps the internal Node version to 12.8.1 and the internal Chromium version to 78.0.3904.113.
๐ Bugfixes:
- ๐ We fixed a regression in 3.5.0 where Cypress would crash on Windows when trying to pass a url through
--config
or--env
command line flags. Fixes #5466. - ๐ป We fixed a regression in 3.5.0 where a supplied
Cookie
header during "cy.visit()
visit orcy.request()
would be overwritten by theCookie
header generated from the browser's cookie store. Fixes #5894. - ๐ We fixed a regression in 3.5.0 where
cy.getCookie()
would incorrectly filter cookies by their domain, leading to unexpected results. Fixes #5656. - ๐ We fixed a regression in 3.5.0 where calling
.type({ force: true })
on hidden inputs would not type the correct characters. Fixes #5835. - ๐ We fixed a regression in 3.5.0 where
.type()
was not respecting previous selections if the current value of the input was the same as the key. This also fixed an where.type()
would not respect previous selections in non-selectionRange inputs (like email or number inputs). Fixes #5703. - ๐ During visibility checks, Cypress now properly evaluates a DOM element transformed by
scale(0)
orrotateY(90deg)
as not visible. Fixes #723. - ๐ Fixed a bug where the specs list in interactive mode would not refresh when files are changed on disk. Fixes #5933.
- ๐ง
env
configuration option displays properly within the settings panel. Previously, setting env options would incorrectly render"undefined"
as the value. Fixes #5859.
Misc:
- ๐ We removed the max viewport size and lowered min viewport size to
0
forcy.viewport()
Addresses #5871 and #5892. - โ
The Test Runner now shows a non-Chrome logo for browsers passed in via
config.browser
that are not of the Chrome family. It also supports showing the Firefox logo (in preparation for Firefox browser support). Fixes #5745. - โก๏ธ We updated the look of some of our icons. Addressed in #5822.
- We're continuing to make progress in converting our codebase from CoffeeScript to JavaScript. Addresses #2690 in #5643.
cy.request
will now automatically encode special characters in the request URL, including Unicode. Addresses #5274.- You can pass additional Electron launch command line arguments using environment variable
ELECTRON_EXTRA_LAUNCH_ARGS
. Addresses #5807.
โก๏ธ Dependency Updates:
- ๐ป Chrome can now be run in headless mode by using