This repository was archived by the owner on Jan 27, 2022. It is now read-only.
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.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:
Release Notes
cypress-io/cypressv9.2.0
Compare Source
Released 12/20/2021
Features:
value at run-time using either the Test Configuration or using
Cypress.config() that is a
readonly option.
Addresses #6407 and
#19001.
default value of defaultCommandTimeout. Addresses
#3350.
increased to
Node's maximum Buffer size
(size varies by OS) to allow large file writes with cy.writeFile().
Addresses #19140.
duration of the verify command. Addresses
#18290.
Bugfixes:
unnecessarily increase CPU use in cypress open mode which lead to out of
memory 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.
could be associated with the wrong request. Fixes
#19043.
causing the test to fail. Tests that are skipped outside of then blocks will
no 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 support
passing null to encoding to read the fixture as a Buffer. This identified an
undocumented 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 found
within <body>. by deleting them from the dom. This behavior was corrected to
ignore 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.
types. Fixes #18879,
#19095 and
#18940.
variants.
#19363.
Dependencies:
ssri 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:
#19083,
#19084,
#19115,
#19096,
#19178.
longer throw in some situations. Fixes
#19091.
Dashboard. Fixes
#19087.
#19105
installed 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.
Fixes #17531.
Fixes #19158.
Dependencies:
#19099.
v9.1.0
Compare Source
Released 11/22/2021
Features:
Cypress 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.
overridden. Fixes #18899.
v9.0.0
Compare Source
Released 11/10/2021
Breaking Changes:
of the system option has changed to always use the Node.js binary/version
that launched Cypress. If Cypress was not launched via the terminal, Cypress
will use the bundled Node.js version. This could change the behavior of code
within your pluginsFile since it may be run in your system Node.js
version. Addresses
#18684.
#17962.
Previously invalid values were ignored and could cause unexpected behavior.
Addresses #18589.
content of <script> or <style> tags. Addresses
#14861.
Cypress.Commands.add() will now throw an error, indicating that
Cypress.Commands.overwrite() should be used instead to overwrite the
behavior of existing commands. Addresses
#18572.
chainables. Addresses
#17496.
could change the behavior of code within the pluginsFile when using the
bundled Node.js version of Cypress. Addressed in
#18317.
Deprecations:
in a future release.
Features:
the file is treated as binary and read as a Buffer. Similarly, null passed
as the encoding to cy.writeFile() allows direct writing of buffers. If the
encoding is unspecified, the default remains utf8, matching the current
behavior. Addresses
#18534.
Bugfixes:
scrolled to during action commands. Fixes
#4233.
application under test after cy.visit(). Fixes
#4295.
Dependencies:
Electron browser in cypress open from 91 to 94. Addressed in
#15292.
#15292.
#15292.
v8.7.0
Compare Source
Released 10/25/2021
Features:
Addresses #18496.
configuration option to customize when tests are considered "slow" during
cypress run. A test that runs slower than the given threshold will display
in 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.
change default behavior to overwrite existing screenshots without having to
set overwrite for each cy.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.
configuration option of Cypress.SelectorPlayground.defaults. Valid values
are data-*, id, class, tag, attribute, or nth-child. Fixes
#7745.
Dependency Updates:
to 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:
existing screenshots with the same file name. Addresses
#7955.
select. Addresses #4318.
a 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.
and instead error when passed an invalid object argument. Fixes
#3957.
to primitive value". Fixes #18143.
Misc:
and retryOnStatusCodeFailure options are passed to be clearer. Fixes
#18271.
Dependency Updates:
selecting Electron browser in cypress open from 91.0.4472.164 to
93.0.4577.58.
#18318 and
#18384.
v8.5.0
Compare Source
Released 09/27/2021
Features:
.select() command. Addresses
#757.
#18210.
Bugfixes:
one is set. Fixes
#17702.
Cypress now writes the projectId in the custom config file instead of
cypress.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.
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:
option of cy.url() to decode it. Addresses
#17399.
Bugfixes:
read-only location. Fixes
#3852.
there are no matching value attributes found.
Fixes#7379.
domain navigation. Fixes
#17705.
#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 in
the Electron browser. Fixes
#17752 and
#17885.
Cypress would cause a SIGSEGV error on Mac when closing the Cypress app
opened via cypress open. Fixes
#17766.
Fixes #17583.
Misc:
#17695.
#17781
Dependency Updates:
#17772.
#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 some
circumstances. Fixes
#16671.
Bugfixes:
cert cache becomes corrupted. Fixes
#8705.
menu bar of Cypress to not be clickable in Windows. Fixes
#16323.
types. Fixes #17084.
Fixes #17139.
Cypress would always warn that chromeWebSecurity is set to "false" when it
wasn't. Fixes #17614.
Dependency Updates:
Electron browser in cypress open from 89 to 91. Addressed in
#17408.
#17408.
#17408.
#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(). The session API is experimental and
can be enabled by setting the
experimentalSessionSupport flag to true
in your Cypress config. See
our blog
and the cy.session() doc for more detail.
experimentalFetchSupport is enabled.
consolidated - 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.
executing test via Cypress.currentTest.title and
Cypress.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 current
user, 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:
Cypress Studio by right clicking on an
element. Addressed in
#16295.
that are not letters will be ignored and don't have to be typed. Addressed in
#17346.
Performance:
commands within a single test. Fixes
#6783.
Bugfixes:
#8008 and
#16111.
trying to add a new project to the Dashboard. Addressed in
#17514.
spec file from the GUI.
#17430.
Configuration
📅 Schedule: "after 10pm every weekday,before 5am every weekday,every weekend" in timezone America/Tijuana.
🚦 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.
This PR has been generated by WhiteSource Renovate. View repository job log here.