Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^3.3.1
->^10.0.0
Release Notes
cypress-io/cypress
v10.0.2
Compare Source
Changelog: https://docs.cypress.io/guides/references/changelog#​10-0-2
v10.0.1
Compare Source
Changelog: https://docs.cypress.io/guides/references/changelog#​10-0-1
v10.0.0
Compare Source
Changelog: https://docs.cypress.io/guides/references/changelog#​10-0-0
v9.7.0
Compare Source
Released 5/23/2022
Features:
Addressed in #21418.
Deprecations:
Cypress.Cookies.preserveOnce()
andCypress.Cookies.defaults()
CypressAPIs have been deprecated. In a future release, support for
Cypress.Cookies.preserveOnce()
andCypress.Cookies.defaults()
will beremoved. Consider using the experimental
cy.session()
command instead to cache and restorecookies and other sessions details between tests. Fixed
#21333.
Bugfixes:
cy.contains()
command to correctlyerror and retry if the provided regex pattern begins with an equal sign and a
match was not initially found. Previously the command would incorrectly fail
with a syntax error. Fixed
#21108.
cy.session()
command log grouping and validation verbiage.This change provides better insights to logs associated with the command.
Fixed #21377.
eventemitter2
third-party type definitions fromcy
andCypress
that were unintentionally exposed. Fixed
#20556.
Dependency Updates:
16.5.0
to16.13.2
. Addressed in#21418.
cypress run
and whenselecting Electron browser in
cypress open
from94.0.4606.81
to100.0.4896.75
. Addressed in#21418.
electron
dependency from15.5.1
to18.0.4
. Addressed in#21418.
v9.6.1
Compare Source
Released 5/9/2022
Bugfixes:
Fixed #19793.
body in the command log. Fixed
#21361.
cy.contains()
and.should('contain', ...)
to handle finding text thatcontains backslash characters. Fixed
#19116
.type('{enter}')
to support sending the Enterkeystroke to submit buttons that are not rendered within a form html element,
but are associated with a form via the
form
attribute. Fixed#21163.
cy.session()
such that re-running tests in open modewill now correctly recreate a session. Before this change, an error was thrown
indicating the saved
setup
function was not a function because it wasserialized. Fixed
#17805.
v9.6.0
Compare Source
Released 4/25/2022
Features:
cy.origin()
command. This feature allows you to testacross different origins or domains within a single test. This experiment was
designed to work side-by-side with the
cy.session()
experimental feature. You can turn on use of this command by setting the
experimentalSessionAndOrigin
configurationoption to
true
. For more details, readour blog post.
Addressed #17336 and
#944.
experimentalSessionAndOrigin
. Thisoption enables support for
cy.session()
andcy.origin()
.experimentalSessionSupport
configuration option has been removed andreplaced by the
experimentalSessionAndOrigin
configuration option. Pleaseupdate your configuration to use the new
experimentalSessionAndOrigin
option to continue to opt-in to this experimental feature.
experimentalSessionAndOrigin
is enabled, cross-origin requests willno longer immediately fail, but instead, time out based on the
pageLoadTimeout
configuration. This allows the request to be appropriately handled by the
cy.origin()
command.experimentalSessionAndOrigin
is enabled, Cypress will no longer waiton page loads between hooks before moving on to the next test.
Bugfixes:
to an input element when using
.type('{enter}')
. Fixed#21033.
or if it came from an error in a plugin before showing the error message.
Fixed #21010.
Cypress binary and the max file length is exceeded. Fixed in
#21047.
Cypress.Commands.add()
TypeScript types to better reflect theattributes of the
.add()
utility and the JQuery element, a possible previoussubject type. #20376.
Dependency Updates:
electron
dependency from15.3.5
to15.5.1
to consume fixesrelated to
improve performance on
macOS Big Sur and later. Addressed
#21068.
v9.5.4
Compare Source
Released 4/11/2022
Bugfixes:
connect to dbus. These errors are normal and expected, and do not result in
test failures. Because they are always present when running Electron inside
docker containers, it has incorrectly led people to believe it is the
root-cause of an error within their test run. By silencing these errors, it
will improve the debug experience to allow users to focus on meaningful
warning and error messages. Fixed
#19299.
*.enable
events are sent if Cypressbecomes disconnected from the Chrome DevTools Protocol and must re-establish a
connection to ensure all command logs are displayed to the user. This fixes an
issue where some command logs, like download or network events, are missing
once Cypress has disconnected and then reconnected to the Chrome DevTools
Protocol. Fixed #20618.
cy.type('{enter}')
was not sending the Enter key forFirefox
v98+
. This was not an issue with Firefoxv97
and below. Fixed#20562.
patterns provided to the
--spec
CLI parameter was incorrectly splitting thepatterns in unexpected places when it should have split on commas. Fixes
#20794.
cy.root()
to respect thetimeout
option passed to the command.Previously, when the
timeout
option was provided, it was ignored and thedefault timeout was used. Fixed
#19985.
to ensure
installing pre-release versions
of the Cypress binary are within the maximum path length of 260 characters.
Fixed in #20961.
prevented
.pause()
from correctly executing when passing the--headed --no-exit
CLI flags tocypress run
. Fixed#20745.
sometimes throw an expected error on navigation with
cy.back()
andcy.go()
. Fixed #19749and #20539.
any
when the correct type isCookie
. Fixed in#20513.
Cypress.Command.addAll()
Typescript types. Fixed#18886.
cy.session()
where an error was thrownwhen no cookies had been set for the session and the user clicks the session
command log to view additional details in the DevTools console. Fixed in
#20946.
Misc:
cy.session()
command log visuals.Fixed #20433.
Dependency Updates:
ansi-regex
dependency from4.1.0
to4.1.1
to address theCVE-2021-3807 NVD security
vulnerability. Addressed in
#20807.
plist
dependency from3.0.4
to3.0.5
to address theCVE-2022-22912 NVD security
vulnerability. Addressed in
#20808.
v9.5.3
Compare Source
Released 3/28/2022
Bugfixes:
cy.intercept()
where the response status codeand response body were sometimes missing from the log details in
open
mode.Fixed #18757.
cy.readFile()
where the command would not retry or providea meaningful error message if
null
encoding was used and the file was notfound. Fixed #20683.
pressed shortcut key was not used in conjunction with either the
alt
,ctrl
, orshift
modifier keys. This fixed an issue where the Cypressshortcut handler would override the browser native keyboard shortcut for
search (
ctrl + f
). Fixed#20222.
CYPRESS_DOWNLOAD_PATH_TEMPLATE
environment variable. Issues were seenutilizing this template when the env was provided from a package manager file.
Fixed #19914.
Cypress.Buffer
TypeScript type to reference the static constructorof
Buffer
, instead of incorrectly referencing theBuffer
instance whichcaused Type errors. Fixes
#20542.
Dependency Updates:
electron
dependency from15.3.4
to15.3.5
to address theCVE-2022-21718 NVD security
vulnerability. Addressed in
#20750.
minimist
dependency from1.2.5
to1.2.6
. Addressed in#20756.
nanoid
dependency from3.1.20
to3.1.31
to address theCVE-2021-23566 NVD security
vulnerability. Addressed in
#20726.
node-forge
dependency from1.0.0
to1.3.0
to address theCVE-2022-24771 NVD security
vulnerability. Addressed in
#20727.
v9.5.2
Compare Source
Released 3/14/2022
Bugfixes:
.type()
where click events could be fired on theincorrect target element because the target focus changed within a key-down
event handler callback. Fixed in
#20525.
colors were not removed from the FireFox warning message about the
chromeWebSecurity
configuration option having no effect on the Firefoxbrowser. Fixes #20496.
unique cache folder for each
pre-release installation
on a machine. This removes the need to run
cypress clear cache
beforeinstalling a new pre-release version of Cypress or before installing a new
released version of Cypress after a pre-release version had been installed.
Addressed in #20296.
Misc:
Origin-Agent-Cluster
header forproxied responses to ensure
document.domain
can continue to be set withChrome v106+. This was necessary because Chrome is planning to make
document.domain
immutablein v106+ to relax the same-origin policy by interpreting the
Origin-Agent-Cluster
astrue
, whereas it is currently interpreted asfalse
. Addresses#20147.
Dependency Updates:
url-parse
dependency from1.5.6
to1.5.9
to address these NVDsecurity vulnerabilities,
CVE-2022-0639,
CVE-2022-0686 and
CVE-2022-0691. Addressed in
#20386 and
#20439.
v9.5.1
Compare Source
Released 2/28/2022
Bugfixes:
ready
event to the Plugins process to ensure all plugins havesuccessfully started before the configuration is loaded and the tests start.
Fixed in #19792.
stuck in the initialization phase, where the user can only view the loading
spinner.
--loader
flag for plugins.on MacOS machines that leverage the VMWare CBCloud SaaS solution. Before this
change, random test failures were observed, as well as hanging tests and
initially pending HTTP and HTTPS responses. Fixed in
#20062.
colors were not removed from the
cy.fixtures()
error code frame. Fixes#20208.
test config override errors were formatted incorrectly. Fixes
#20208.
errors with booleans or numbers. Fixes
#19561.
Dependency Updates:
url-parse
dependency from1.5.2
to1.5.6
to avoid authorizationbypass through user-controlled key to address this
NVD security vulnerability.
Addressed in #20270.
v9.5.0
Compare Source
Released 2/15/2022
Features:
to improve readability and provide meaningful stack traces. Addressed in
#20124.
cy.request()
log message to hide the origin when it matched thebrowser origin to make debugging easier. This reduces the length of the log
message that could be partially hidden if a long url is requested. Addressed
in #20009.
ShadowRoot
andDocument
elements as HTMLelements. Previously these would be logged as enumerated objects, which were
difficult to evaluate. Addressed in
#20049.
node
path in the run header. Addressed in#20120.
Bugfixes:
.selectFile()
could have thewrong
File
prototype. Fixes#20003.
.select()
to only dispatch thechange
andinput
events when theselected option is not the currently selected option. This change aligns
.select()
with the browser. Fixes#19494.
.type(' ')
to align with the W3C standards where a click eventshould be dispatched when the Space key is pressed and the current focus is on
a state-changing element with type
button
,image
,submit
orreset
.Fixes #20067.
v9.4.1
Compare Source
Released 1/31/2022
Bugfixes:
line endings in the public NPM package prevented some users from running
Cypress. Fixes #19986.
v9.4.0
Compare Source
Released 1/31/2022
Features
.selectFile()
after receiving feedback after itsinitial release in 9.3.0.
files based on their extension to correctly encode file uploads. Addressed
in #19751.
mimeType
property so you can explicitly set the mime type onfiles using the
mimeType
property. Addressed in#19751.
TypedArray
instance or a
Cypress.Buffer
instance, where previously file contents wereexpected to only be an instance of
Cypress.Buffer
. Addressed in#19751.
.selectFile()
to retain the fileName of files read from disk towork with aliases. Addressed in
#19803.
Bugfixes:
parse the
--spec
CLI parameter for glob patterns containing a range. Fixes#19783.
--openssl-legacy-provider
flag was not being passed to the plugins' childprocess when the user's system Node version was Node 17+ built with OpenSSL
v3+ which resulted in Cypress crashing when trying to run tests. Fixes
#19712.
cy.type('{enter}')
to align with the W3C standards where a clickevent should be dispatched when the Enter key is pressed and the current focus
is on astate-changing element with type
button
,image
,submit
orreset
. Fixes #19541.v9.3.1
Compare Source
Released 1/19/2022
Bugfixes:
#19747.
v9.3.0
Compare Source
Released 1/18/2022
Features:
.selectFile()
, to select a file or files in anHTML5 input element or simulate dragging a file or files into the browser. The
API is similar to
cypress-file-upload
and we have provided amigration guide
for previous users of that plugin. For more details, see
our blog post.
Fixes #19524 and
#170.
Buffer
polyfill, asCypress.Buffer
,to enable working with binary data. Addressed in
#19524.
CYPRESS_DOWNLOAD_PATH_TEMPLATE
environment variable which can beset to a string template for building the download URL for the Cypress binary.
This environment variable is useful for users who are downloading the Cypress
binary from a proxy that is not one-to-one with the Cypress's default download
url. More information can be found in the
Install Binary
documentation. Fixes
#15697.
Bugfixes:
--spec
CLI parameter was not working properly whenpassing multiple glob patterns that are separated by commas. Fixes
#16102.
CYPRESS_VERIFY_TIMEOUT
environment variable wasread so it can set in a project's
package.json
or it's.npmrc
. Fixes#19559.
Dependency Updates:
graceful-fs
from4.2.0
to4.2.9
. This upgrade resolves issuesobserved with using graceful-fs v4.2.0 with resolve v1.21+. Addressed in
#19676 and resolves
#19610.
graceful-fs
breaks Cypress's compatibility withYarn 2. We have observed errors with Yarn 2.4.2 with
graceful-fs
4.2.9.Before this change, Cypress had minimal Yarn 2 support (see
#6377). Between Yarn 3
fixing multiple bugs and the migration path from Yarn 2 to Yarn 3 being
minimal, we felt the best step forward was to support and recommend Yarn 3
over Yarn 2.
electron
from15.2.0
to15.3.4
. Addressed in#19351.
v9.2.1
Compare Source
Released 1/10/2022
Bugfixes:
Cypress open after each spec finishes when the
--headed --no-exit
flags arepassed to
cypress run
. Fixes#19485.
--openssl-legacy-provider
optionshould be passed to the plugins' child process when the system Node version is
v17+. This prevents Cypress from crashing when a user has Node 17 installed
which was built with OpenSSL v1. Fixes
#19320.
CYPRESS_VERIFY_TIMEOUT
environment variable as a numberso Cypress will no longer throw
TypeError: Expected the timeout option to be a non-negative integer
. Fixes#19476.
Dependency Updates:
cli-table3
from~0.6.0
to~0.6.1
to avoidproblems with the bug introduced in the
colors.js v1.4.44-liberty-2 release.
Addresses #19624.
v9.2.0
Compare Source
Released 12/20/2021
Features:
value at run-time using either the Test Configuration or using
Cypress.config()
that is areadonly option.
Addresses #6407 and
#19001.
timeout
option has been added to thecy.writeFile()
command, with adefault value of
defaultCommandTimeout
. Addresses#3350.
maxHttpBufferSize
for the internal socket server has beenincreased to
Node's maximum Buffer size
(size varies by OS) to allow large file writes with
cy.writeFile()
.Addresses #19140.
CYPRESS_VERIFY_TIMEOUT
environment variable to override the timeoutduration of the
verify
command. Addresses#18290.
Bugfixes:
unnecessarily increase CPU use in
cypress open
mode which lead to out ofmemory crashes on certain browsers. Fixes
#18549.
fixes an issue where failed requests could be re-sent too many times in some
conditions. This change could increase the number of failed requests that your
app sees. Fixes #19043.
fetch
andxhr
requestscould be associated with the wrong request. Fixes
#19043.
then
blocks will no longer throw errorscausing the test to fail. Tests that are skipped outside of
then
blocks willno longer trigger the fail event. This will prevent screenshots from happening
from errors thrown by the fail event.Fixes
#14867 and
#17660.
fixture provided in a static response to
cy.intercept()
did not supportpassing
null
to encoding to read the fixture as a Buffer. This identified anundocumented 9.0.0 Breaking Change where the default read behavior of a
fixture changed from a Buffer to being read with
utf8
encoding. Fixes#19344.
cy.contains()
attempted to ignore<script>
and<style>
elements foundwithin
<body>
. by deleting them from the dom. This behavior was corrected toignore the elements without deleting them. Fixes
#19377.
if the application under test has a resource of
"http: //localhost/asset.js"
(notice the extraneous space), Cypress will now log a debug message and the
asset will fail to load. Fixes
#9220.
Cypress.Command.add()
andCypress.Command.override()
TypeScripttypes. Fixes #18879,
#19095 and
#18940.
prevSubject
variants.
originalFn
function.Cypress.session.clearAllSavedSessions()
. Fixes#19363.
Dependencies:
ssri
from6.0.1
to6.0.2
to mitigatessri vulnerability. Addressed in
#19351.
v9.1.1
Compare Source
Released 12/03/2021
Bugfixes:
built binary didn't contain patches to some dependencies. Addressed in
#19239. This fixed some
issues including:
~
will no longer be improperly encoded. Fixes#19083,
#19084,
#19115,
#19096,
#19178.
data.hasOwnProperty is not a function
will nolonger throw in some situations. Fixes
#19091.
Dashboard. Fixes
#19087.
#19105
"nodeVersion": "system"
with aninstalled system node >=17, Cypress will now work properly rather than throw
an error incorrectly pointing to the user's plugin file. Fixes
#18914.
element is covered by its parent shadow root. Fixes
#18008.
.type()
events now correctly propagate out of the shadow DOM.Fixes #17531.
this
context is now properly preserved when overwritingcy.clock()
.Fixes #19158.
Dependencies:
@cypress/request
from2.88.7
to2.88.10
. Addressed in#19099.
v9.1.0
Compare Source
Released 11/22/2021
Features:
CYPRESS
environment variable will be set to true in child processes whereCypress runs user code in Node.js. You can now detect that you're running in
Cypress by looking for
process.env.CYPRESS
. Addresses#18805.
Bugfixes:
other spec. Fixes
#18871.
in double-quotes. Fixes
#1884.
cy.stub().log(false)
. Fixes#18907.
indicate when it is still waiting. Fixes
#18644.
this
context now have access tothis
whenoverridden. Fixes #18899.
v9.0.0
Compare Source
Released 11/10/2021
Breaking Changes:
nodeVersion
configuration option now defaults tosystem
. The behaviorof the
system
option has changed to always use the Node.js binary/versionthat launched Cypress. If Cypress was not launched via the terminal, Cypress
will use the
bundled
Node.js version. This could change the behavior of codewithin your
pluginsFile
since it may be run in yoursystem
Node.jsversion. Addresses
#18684.
#17962.
Cypress.config
.Previously invalid values were ignored and could cause unexpected behavior.
Addresses #18589.
cy.contains()
no longer yields the<body>
element when it matches thecontent of
<script>
or<style>
tags. Addresses#14861.
Cypress.Commands.add()
will now throw an error, indicating thatCypress.Commands.overwrite()
should be used instead to overwrite thebehavior of existing commands. Addresses
#18572.
chainables. Addresses
#17496.
14.17.0
to16.5.0
. Thiscould change the behavior of code within the
pluginsFile
when using thebundled Node.js version of Cypress. Addressed in
#18317.
Deprecations:
nodeVersion
configuration option has been deprecated and will be removedin a future release.
Features:
null
is passed as the encoding tocy.readFile()
orcy.fixture()
,the file is treated as binary and read as a Buffer. Similarly,
null
passedas the encoding to
cy.writeFile()
allows direct writing of buffers. If theencoding is unspecified, the default remains
utf8
, matching the currentbehavior. Addresses
#18534.
Bugfixes:
scrolled to during action commands. Fixes
#4233.
document.referrer
will now correctly reflect the correct value from theapplication under test after
cy.visit()
. Fixes#4295.
Dependencies:
cypress run
and when selectingElectron browser in
cypress open
from91
to94
. Addressed in#15292.
14.17.0
to16.5.0
. Addressed in#15292.
electron
from14.1.0
to15.2.0
. Addressed in#15292.
v8.7.0
Compare Source
Released 10/25/2021
Features:
Addresses #18496.
slowTestThreshold
configuration option to customize when tests are considered "slow" during
cypress run
. A test that runs slower than the given threshold will displayin orange text in the default 'spec' reporter. This configuration can be set
in your Cypress config file or via specific
test configuration.
10000ms for e2e tests and 250ms for component tests. To restore the old
behavior, you can add
"slowTestThreshold": 75
to your Cypress config file.cypress run
with the default 'spec' reporter.overwrite: true
option toCypress.Screenshot.defaults
tochange default behavior to overwrite existing screenshots without having to
set
overwrite
for eachcy.screenshot()
command. Addresses#7955.
Bugfixes:
Electron to the Dashboard were not playable in the Firefox or Safari browser
and were not compatible with QuickTime player in MacOS.
projectRoot
directory not being writeable will now display correctly. Fixes#18485.
Fixes #18445.
selectorPriority
configuration option of
Cypress.SelectorPlayground.defaults
. Valid valuesare
data-*
,id
,class
,tag
,attribute
, ornth-child
. Fixes#7745.
Dependency Updates:
ua-parser-js
to0.7.24
to avoid dependency resolutionto the compromised package versions. Please read the
security advisory and
take actions advised as soon as possible. Addressed in
#18611
v8.6.0
Compare Source
Released 10/11/2021
Features:
cy.screenshot()
now acceptsoverwrite: true
as an option to overwriteexisting screenshots with the same file name. Addresses
#7955.
cy.select([])
can now be used to clear any selected options in a multi-valueselect. Addresses #4318.
cy.pause()
when usingcypress run --headed --no-exit
will now pausea test. Addresses #4044.
Bugfixes:
would not display their response bodies in the DevTools Console when clicked.
Fixes #17656.
versions earlier than 89 would result in choppy videos and skipped frames.
Fixes #18021.
within a test. Fixes
#18259.
--spec: {}
from the CLIand instead error when passed an invalid object argument. Fixes
#3957.
to primitive value". Fixes #18143.
Misc:
cy.request()
error message when conflictingfailOnStatusCode
and
retryOnStatusCodeFailure
options are passed to be clearer. Fixes#18271.
Dependency Updates:
cypress run
and whenselecting Electron browser in
cypress open
from91.0.4472.164
to93.0.4577.58
.electron
from13.2.0
to14.1.0
. Addressed in#18318 and
#18384.
v8.5.0
Compare Source
Released 09/27/2021
Features:
.select()
command. Addresses#757.
#18210.
Bugfixes:
NO_PROXY
environment variable whenone is set. Fixes
#17702.
Cypress now writes the
projectId
in the custom config file instead ofcypress.json
. Fixes#5747.
Misc:
release. A deprecation warning will now display when using Cypress in a
Windows 32-bit OS. See
#17962 for more detail.
Addresses #18094.
.select()
command. Addressed in #18234.v8.4.1
Compare Source
Released 09/17/2021
Bugfixes:
Dashboard or viewing the runs or record key for a previously set up project.
Fixes #18129.
for showing in the Cypress Dashboard. Fixes
#17860.
v8.4.0
Compare Source
Released 09/13/2021
Features:
decode
option of
cy.url()
to decode it. Addresses#17399.
Bugfixes:
read-only location. Fixes
#3852.
.check()
or.uncheck()
whenthere are no matching value attributes found.
Fixes#7379.
domain navigation. Fixes
#17705.
clientCertificate
types have been added for the Cypress configuration. Fixes#17799.
v8.3.1
Compare Source
Released 08/27/2021
Performance:
detection performance. Fixes
#17773.
Bugfixes:
correct exit code would not be issued during
cypress run-ct
while running inthe Electron browser. Fixes
#17752 and
#17885.
Cypress would cause a
SIGSEGV
error on Mac when closing the Cypress appopened via
cypress open
. Fixes#17766.
beforeinput
event now correctly fires in Firefox during keyboard events.Fixes #17583.
Misc:
cy.document()
typings now allow for thetimeout
option. Fixes#17695.
cy.title()
typings now allow for thetimeout
option. Fixes#17781
Dependency Updates:
electron
from13.1.7
to13.2.0
. Addressed in#17772.
@cypress/request
from2.88.5
to2.88.6
. Addresses#17622.
v8.3.0
Compare Source
Released 08/16/2021
Features:
Addressed in #17317.
Performance:
Chrome 89+/Electron 12+. Fixes
#16152.
cause
cy.visit()
to take longer to fire its load event in somecircumstances. Fixes
#16671.
Bugfixes:
cert cache becomes corrupted. Fixes
#8705.
menu bar of Cypress to not be clickable in Windows. Fixes
#16323.
res.send
ofcy.intercept()
will no longer override JSON-related contenttypes. Fixes #17084.
times
option ofcy.intercept
now works properly withreq.reply
.Fixes #17139.
Cypress would always warn that
chromeWebSecurity
is set to "false" when itwasn't. Fixes #17614.
Dependency Updates:
cypress run
and when selectingElectron browser in
cypress open
from89
to91
. Addressed in#17408.
14.6.0
to14.17.0
. Addressed in#17408.
electron
from12.0.0-beta.14
to13.1.7
. Addressed in#17408.
url-parse
from1.5.1
to1.5.2
. Addressed in#17719.
v8.2.0
Compare Source
Released 08/04/2021
Features:
localStorage
,and
sessionStorage
in order to reduce test setup times by using
cy.session()
. Thesession
API is experimental andcan be enabled by setting the
experimentalSessionSupport
flag totrue
in your Cypress config. See
our blog
and the
cy.session()
doc for more detail.fetch
requests are always displayed in the Command Log, regardless of ifexperimentalFetchSupport
is enabled.cy.intercept()
have beenconsolidated - Fixes
#14843.
clicking on
cy.intercept()
request logs has been improved.been stubbed by displaying a filled or empty circle in the request log.
was modified by a
cy.intercept()
.information about the matched
cy.intercept()
/cy.route()
rules.Fixes #14655.
Cypress.currentTest
property to access name the currentlyexecuting test via
Cypress.currentTest.title
andCypress.currentTest.titlePath
. Addresses#2972.
Bugfixes:
in Firefox. Fixes #6375.
in certain circumstances when application errors are thrown. Fixes
#17378.
before
hook. Fixes#9026.
error would longer throw when there is no
/etc/passwd
entry for the currentuser, such as in some Docker and GitHub Action setups. Fixes
#17415.
to
cy.wait()
. Fixes#17436.
v8.1.0
Compare Source
Released 07/29/2021
Features:
experimentalStudio
, you can now generate assertionConfiguration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.