-
Notifications
You must be signed in to change notification settings - Fork 156
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(deps): update dependency cypress to v9 #8045
Conversation
Deploy preview created for package Built with commit: 560925c7f50c5d48982c6d97029b4f12e95b7f57 |
Deploy preview created for package Built with commit: 560925c7f50c5d48982c6d97029b4f12e95b7f57 |
Deploy preview created for package Built with commit: 560925c7f50c5d48982c6d97029b4f12e95b7f57 |
Deploy preview created for package Built with commit: 560925c7f50c5d48982c6d97029b4f12e95b7f57 |
Deploy preview created for package Built with commit: 560925c7f50c5d48982c6d97029b4f12e95b7f57 |
Deploy preview created for package Built with commit: a4b20aab8f99971c3c4246c3e79d37417a8346cf |
Deploy preview created for package Built with commit: 560925c7f50c5d48982c6d97029b4f12e95b7f57 |
This PR contains the following updates:
^8.7.0
->^9.0.0
Release Notes
cypress-io/cypress
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.
Configuration
📅 Schedule: "every weekend" (UTC).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Renovate will not automatically rebase this PR, because other commits have been found.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by WhiteSource Renovate. View repository job log here.