next-and-cypress-example
next-and-cypress-example copied to clipboard
chore(deps): update dependency cypress to v14
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| cypress (source) | 7.7.0 -> 14.5.0 |
Release Notes
cypress-io/cypress (cypress)
v14.5.0
Changelog: https://docs.cypress.io/app/references/changelog#14-5-0
v14.4.1
Changelog: https://docs.cypress.io/app/references/changelog#14-4-1
v14.4.0
Changelog: https://docs.cypress.io/app/references/changelog#14-4-0
v14.3.3
Changelog: https://docs.cypress.io/app/references/changelog#14-3-3
v14.3.2
Changelog: https://docs.cypress.io/app/references/changelog#14-3-2
v14.3.1
Changelog: https://docs.cypress.io/app/references/changelog#14-3-1
v14.3.0
Changelog: https://docs.cypress.io/app/references/changelog#14-3-0
v14.2.1
Changelog: https://docs.cypress.io/app/references/changelog#14-2-1
v14.2.0
Changelog: https://docs.cypress.io/app/references/changelog#14-2-0
v14.1.0
Changelog: https://docs.cypress.io/app/references/changelog#14-1-0
v14.0.3
Changelog: https://docs.cypress.io/app/references/changelog#14-0-3
v14.0.2
Changelog: https://docs.cypress.io/app/references/changelog#14-0-2
v14.0.1
Changelog: https://docs.cypress.io/app/references/changelog#14-0-1
v14.0.0
Changelog: https://docs.cypress.io/app/references/changelog#14-0-0
v13.17.0
Changelog: https://docs.cypress.io/app/references/changelog#13-17-0
v13.16.1
Changelog: https://docs.cypress.io/app/references/changelog#13-16-1
v13.16.0
Changelog: https://docs.cypress.io/guides/references/changelog#13-16-0
v13.15.2
Changelog: https://docs.cypress.io/guides/references/changelog#13-15-2
v13.15.1
Changelog: https://docs.cypress.io/guides/references/changelog#13-15-1
v13.15.0
Changelog: https://docs.cypress.io/guides/references/changelog#13-15-0
v13.14.2
Changelog: https://docs.cypress.io/guides/references/changelog#13-14-2
v13.14.1
Changelog: https://docs.cypress.io/guides/references/changelog#13-14-1
v13.14.0
Changelog: https://docs.cypress.io/guides/references/changelog#13-14-0
v13.13.3
Changelog: https://docs.cypress.io/guides/references/changelog#13-13-3
v13.13.2
Changelog: https://docs.cypress.io/guides/references/changelog#13-13-2
v13.13.1
Changelog: https://docs.cypress.io/guides/references/changelog#13-13-1
v13.13.0
Changelog: https://docs.cypress.io/guides/references/changelog#13-13-0
v13.12.0
Changelog: https://docs.cypress.io/guides/references/changelog#13-12-0
v13.11.0
Changelog: https://docs.cypress.io/guides/references/changelog#13-11-0
v13.10.0
Changelog: https://docs.cypress.io/guides/references/changelog#13-10-0
v13.9.0
Changelog: https://docs.cypress.io/guides/references/changelog#13-9-0
v13.8.1
Changelog: https://docs.cypress.io/guides/references/changelog#13-8-1
v13.8.0
Changelog: https://docs.cypress.io/guides/references/changelog#13-8-0
v13.7.3
Changelog: https://docs.cypress.io/guides/references/changelog#13-7-3
v13.7.2
Changelog: https://docs.cypress.io/guides/references/changelog#13-7-2
v13.7.1
Changelog: https://docs.cypress.io/guides/references/changelog#13-7-1
v13.7.0
Changelog: https://docs.cypress.io/guides/references/changelog#13-7-0
v13.6.6
Changelog: https://docs.cypress.io/guides/references/changelog#13-6-6
v13.6.5
Changelog: https://docs.cypress.io/guides/references/changelog#13-6-5
v13.6.4
Changelog: https://docs.cypress.io/guides/references/changelog#13-6-4
v13.6.3
Changelog: https://docs.cypress.io/guides/references/changelog#13-6-3
v13.6.2
Changelog: https://docs.cypress.io/guides/references/changelog#13-6-2
v13.6.1
Changelog: https://docs.cypress.io/guides/references/changelog#13-6-1
v13.6.0
Changelog: https://docs.cypress.io/guides/references/changelog#13-6-0
v13.5.1
Changelog: https://docs.cypress.io/guides/references/changelog#13-5-1
v13.5.0: v.13.5.0
Changelog: https://docs.cypress.io/guides/references/changelog#13-5-0
v13.4.0
Changelog: https://docs.cypress.io/guides/references/changelog#13-4-0
v13.3.3
Changelog: https://docs.cypress.io/guides/references/changelog#13-3-3
v13.3.2
Changelog: https://docs.cypress.io/guides/references/changelog#13-3-2
v13.3.1
Changelog: https://docs.cypress.io/guides/references/changelog#13-3-1
v13.3.0
Changelog: https://docs.cypress.io/guides/references/changelog#13-3-0
v13.2.0
Changelog: https://docs.cypress.io/guides/references/changelog#13-2-0
v13.1.0
Changelog: https://docs.cypress.io/guides/references/changelog#13-1-0
v13.0.0
Changelog: https://docs.cypress.io/guides/references/changelog#13-0-0
v12.17.4
Changelog: https://docs.cypress.io/guides/references/changelog#12-17-4
v12.17.3
Changelog: https://docs.cypress.io/guides/references/changelog#12-17-3
v12.17.2
Changelog: https://docs.cypress.io/guides/references/changelog#12-17-2
v12.17.1
Changelog: https://docs.cypress.io/guides/references/changelog#12-17-1
v12.17.0
Changelog: https://docs.cypress.io/guides/references/changelog#12-17-0
v12.16.0
Changelog: https://docs.cypress.io/guides/references/changelog#12-16-0
v12.15.0
Changelog: https://docs.cypress.io/guides/references/changelog#12-15-0
v12.14.0
Changelog: https://docs.cypress.io/guides/references/changelog#12-14-0
v12.13.0
Changelog: https://docs.cypress.io/guides/references/changelog#12-13-0
v12.12.0
Changelog: https://docs.cypress.io/guides/references/changelog#12-12-0
v12.11.0
Changelog: https://docs.cypress.io/guides/references/changelog#12-11-0
v12.10.0
Changelog: https://docs.cypress.io/guides/references/changelog#12-10-0
v12.9.0
Changelog: https://docs.cypress.io/guides/references/changelog#12-9-0
v12.8.1
Changelog: https://docs.cypress.io/guides/references/changelog#12-8-1
v12.8.0
Changelog: https://docs.cypress.io/guides/references/changelog#12.8.0
v12.7.0
Changelog: https://docs.cypress.io/guides/references/changelog#12.7.0
v12.6.0
Changelog: https://docs.cypress.io/guides/references/changelog#12.6.0
v12.5.1
Changelog: https://docs.cypress.io/guides/references/changelog#12-5-1
v12.5.0
Changelog: https://docs.cypress.io/guides/references/changelog#12-5-0
v12.4.1
Changelog: https://docs.cypress.io/guides/references/changelog#12-4-1
v12.4.0
Changelog: https://docs.cypress.io/guides/references/changelog#12-4-0
v12.3.0
Changelog: https://docs.cypress.io/guides/references/changelog#12-3-0
v12.2.0
Changelog: https://docs.cypress.io/guides/references/changelog#12-2-0
v12.1.0
Changelog: https://docs.cypress.io/guides/references/changelog#12-1-0
v12.0.2
Changelog: https://docs.cypress.io/guides/references/changelog#12-0-2
v12.0.1
Changelog: https://docs.cypress.io/guides/references/changelog#12-0-1
v12.0.0
Changelog: https://docs.cypress.io/guides/references/changelog#12-0-0
v11.2.0
Changelog: https://docs.cypress.io/guides/references/changelog#11-2-0
v11.1.0
Changelog: https://docs.cypress.io/guides/references/changelog#11-1-0
v11.0.1
Changelog: https://docs.cypress.io/guides/references/changelog#11-0-1
v11.0.0
Changelog: https://docs.cypress.io/guides/references/changelog#11-0-0
v10.11.0
Changelog: https://docs.cypress.io/guides/references/changelog#10-11-0
v10.10.0
Changelog: https://docs.cypress.io/guides/references/changelog#10-10-0
v10.9.0
Changelog: https://docs.cypress.io/guides/references/changelog#10-9-0
v10.8.0
Changelog: https://docs.cypress.io/guides/references/changelog#10-8-0
v10.7.0
Changelog: https://docs.cypress.io/guides/references/changelog#10-7-0
v10.6.0
Changelog: https://docs.cypress.io/guides/references/changelog#10-6-0
v10.5.0
Changelog: https://docs.cypress.io/guides/references/changelog#10-5-0
v10.4.0
Changelog: https://docs.cypress.io/guides/references/changelog#10-4-0
v10.3.1
Changelog: https://docs.cypress.io/guides/references/changelog#10-3-1
v10.3.0
Changelog: https://docs.cypress.io/guides/references/changelog#10-3-0
v10.2.0
Changelog: https://docs.cypress.io/guides/references/changelog#10-2-0
v10.1.0
Changelog: https://docs.cypress.io/guides/references/changelog#10-1-0
v10.0.3
Changelog: https://docs.cypress.io/guides/references/changelog#10-0-3
v10.0.2
Changelog: https://docs.cypress.io/guides/references/changelog#10-0-2
v10.0.1
Changelog: https://docs.cypress.io/guides/references/changelog#10-0-1
v10.0.0
Changelog: https://docs.cypress.io/guides/references/changelog#10-0-0
v9.7.0
Released 5/23/2022
Features:
- The Electron version and shipped Chromium browser version has been updated. Addressed in #21418.
Deprecations:
- The
Cypress.Cookies.preserveOnce()andCypress.Cookies.defaults()Cypress APIs have been deprecated. In a future release, support forCypress.Cookies.preserveOnce()andCypress.Cookies.defaults()will be removed. Consider using the experimentalcy.session()command instead to cache and restore cookies and other sessions details between tests. Fixed #21333.
Bugfixes:
- Updated the
cy.contains()command to correctly error 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. - Corrected the
cy.session()command log grouping and validation verbiage. This change provides better insights to logs associated with the command. Fixed #21377. - Removed
eventemitter2third-party type definitions fromcyandCypressthat were unintentionally exposed. Fixed #20556.
Dependency Updates:
- Upgraded the bundled node version shipped with Cypress from
16.5.0to16.13.2. Addressed in #21418. - Upgraded the Chromium browser version used during
cypress runand when selecting Electron browser incypress openfrom94.0.4606.81to100.0.4896.75. Addressed in #21418. - Upgraded
electrondependency from15.5.1to18.0.4. Addressed in #21418.
v9.6.1: 9.6.1
Released 5/9/2022
Bugfixes:
- Cypress can now launch on systems where Firefox is installed via Snapcraft. Fixed #19793.
- Updates were made to ensure XHR calls are properly displaying the response body in the command log. Fixed #21361.
- Fixed
cy.contains()and.should('contain', ...)to handle finding text that contains backslash characters. Fixed #19116 - Updated
.type('{enter}')to support sending the Enter keystroke to submit buttons that are not rendered within a form html element, but are associated with a form via theformattribute. Fixed #21163. - Fixed an issue with
cy.session()such that re-running tests in open mode will now correctly recreate a session. Before this change, an error was thrown indicating the savedsetupfunction was not a function because it was serialized. Fixed #17805.
v9.6.0: 9.6.0
Released 4/25/2022
Features:
- Now you can easily test multi-domain workflows by using the experimental
cy.origin()command. This feature allows you to test across different origins or domains within a single test. This experiment was designed to work side-by-side with thecy.session()experimental feature. You can turn on use of this command by setting theexperimentalSessionAndOriginconfiguration option totrue. For more details, read our blog post. Addressed #17336 and #944.- Added a new configuration option called
experimentalSessionAndOrigin. This option enables support forcy.session()andcy.origin(). - The
experimentalSessionSupportconfiguration option has been removed and replaced by theexperimentalSessionAndOriginconfiguration option. Please update your configuration to use the newexperimentalSessionAndOriginoption to continue to opt-in to this experimental feature. - When
experimentalSessionAndOriginis enabled, cross-origin requests will no longer immediately fail, but instead, time out based on thepageLoadTimeoutconfiguration. This allows the request to be appropriately handled by thecy.origin()command. - When
experimentalSessionAndOriginis enabled, Cypress will no longer wait on page loads between hooks before moving on to the next test.
- Added a new configuration option called
Bugfixes:
- Fixed an issue with Firefox 98+ where the Enter keystroke was not being sent
to an input element when using
.type('{enter}'). Fixed #21033. - We now verify if an interruption while running tests was signaled by the user or if it came from an error in a plugin before showing the error message. Fixed #21010.
- Improved the error message observed on Windows platforms when unzipping the Cypress binary and the max file length is exceeded. Fixed in #21047.
- Updated the
Cypress.Commands.add()TypeScript types to better reflect the attributes of the.add()utility and the JQuery element, a possible previous subject type. #20376.
Dependency Updates:
- Upgraded
electrondependency from15.3.5to15.5.1to consume fixes related to improve performance on macOS Big Sur and later. Addressed #21068.
v9.5.4: 9.5.4
Released 4/11/2022
Bugfixes:
- Updates were made to silence Electron warnings related to being unable to 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.
- Updates were made to ensure that all
*.enableevents are sent if Cypress becomes 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. - Fixed an issue where
cy.type('{enter}')was not sending the Enter key for Firefoxv98+. This was not an issue with Firefoxv97and below. Fixed #20562. - Fixed a regression in 9.3.0 where glob
patterns provided to the
--specCLI parameter was incorrectly splitting the patterns in unexpected places when it should have split on commas. Fixes #20794. - Fixed an issue with
cy.root()to respect thetimeoutoption passed to the command. Previously, when thetimeoutoption was provided, it was ignored and the default timeout was used. Fixed #19985. - Updates were made to decrease the length of the Cypress cache path for Windows to ensure installing pre-release versions of the Cypress binary are within the maximum path length of 260 characters. Fixed in #20961.
- Fixed a regression in 8.6.0 which
prevented
.pause()from correctly executing when passing the--headed --no-exitCLI flags tocypress run. Fixed #20745. - Fixed a regression in 9.2.0 which would
sometimes throw an expected error on navigation with
cy.back()andcy.go(). Fixed #19749 and #20539. - Corrected the Typescript type for a cookie which was incorrectly typed as
anywhen the correct type isCookie. Fixed in #20513. - Added the missing
Cypress.Command.addAll()Typescript types. Fixed #18886. - Fixed an uncommon error observed in
cy.session()where an error was thrown when 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:
- A minor visual update was made to the
cy.session()command log visuals. Fixed #20433.
Dependency Updates:
- Upgraded
ansi-regexdependency from4.1.0to4.1.1to address the CVE-2021-3807 NVD security vulnerability. Addressed in #20807. - Upgraded
plistdependency from3.0.4to3.0.5to address the CVE-2022-22912 NVD security vulnerability. Addressed in #20808.
v9.5.3: 9.5.3
Released 3/28/2022
Bugfixes:
- Corrected a logging issue with
cy.intercept()where the response status code and response body were sometimes missing from the log details inopenmode. Fixed #18757. - Fixed an issue in
cy.readFile()where the command would not retry or provide a meaningful error message ifnullencoding was used and the file was not found. Fixed #20683. - Updated the Cypress Keyboard shortcuts to only run the shortcut when the
pressed shortcut key was not used in conjunction with either the
alt,ctrl, orshiftmodifier keys. This fixed an issue where the Cypress shortcut handler would override the browser native keyboard shortcut for search (ctrl + f). Fixed #20222. - Updates were made to correctly escape dollar signs in the
CYPRESS_DOWNLOAD_PATH_TEMPLATEenvironment variable. Issues were seen utilizing this template when the env was provided from a package manager file. Fixed #19914. - Fix the
Cypress.BufferTypeScript type to reference the static constructor ofBuffer, instead of incorrectly referencing theBufferinstance which caused Type errors. Fixes #20542.
Dependency Updates:
- Upgraded
electrondependency from15.3.4to15.3.5to address the CVE-2022-21718 NVD security vulnerability. Addressed in #20750. - Upgraded
minimistdependency from1.2.5to1.2.6. Addressed in #20756. - Upgraded
nanoiddependency from3.1.20to3.1.31to address the CVE-2021-23566 NVD security vulnerability. Addressed in #20726. - Upgraded
node-forgedependency from1.0.0to1.3.0to address the CVE-2022-24771 NVD security vulnerability. Addressed in #20727.
v9.5.2: 9.5.2
Released 3/14/2022
Bugfixes:
- Fixed an issue with
.type()where click events could be fired on the incorrect target element because the target focus changed within a key-down event handler callback. Fixed in #20525. - Fixed a regression in 9.5.0 where ANSI
colors were not removed from the FireFox warning message about the
chromeWebSecurityconfiguration option having no effect on the Firefox browser. Fixes #20496. - Updates were made to the pre-release build setup such that Cypress will use a
unique cache folder for each
pre-release installation
on a machine. This removes the need to run
cypress clear cachebefore installing 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:
- Updates were made to explicitly disable the
Origin-Agent-Clusterheader for proxied responses to ensuredocument.domaincan continue to be set with Chrome v106+. This was necessary because Chrome is planning to makedocument.domainimmutable in v106+ to relax the same-origin policy by interpreting theOrigin-Agent-Clusterastrue, whereas it is currently interpreted asfalse. Addresses #20147.
Dependency Updates:
- Upgraded
url-parsedependency from1.5.6to1.5.9to address these NVD security vulnerabilities, CVE-2022-0639, CVE-2022-0686 and CVE-2022-0691. Addressed in #20386 and #20439.
v9.5.1: 9.5.1
Released 2/28/2022
Bugfixes:
- Added a
readyevent to the Plugins process to ensure all plugins have successfully started before the configuration is loaded and the tests start. Fixed in #19792.- This fixes an issue where the plugin is never executed and leaves Cypress stuck in the initialization phase, where the user can only view the loading spinner.
- This enables support for node's experimental
--loaderflag for plugins.
- Made a change to the DNS lookup to improve test performances and reliability 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.
- Fixed a regression in 9.5.0 where ANSI
colors were not removed from the
cy.fixtures()error code frame. Fixes #20208. - Fixed a regression in 9.5.0 where the test config override errors were formatted incorrectly. Fixes #20208.
- Fixed an issue where Cypress would throw an error when reporting or wrapping errors with booleans or numbers. Fixes #19561.
Dependency Updates:
- Upgraded
url-parsedependency from1.5.2to1.5.6to avoid authorization bypass through user-controlled key to address this NVD security vulnerability. Addressed in #20270.
v9.5.0: 9.5.0
Released 2/15/2022
Features:
- Enhancements were made to the error experience in both run mode and open mode to improve readability and provide meaningful stack traces. Addressed in #20124.
- Updated the
cy.request()log message to hide the origin when it matched the browser 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. - Updates were made to log the
ShadowRootandDocumentelements as HTML elements. Previously these would be logged as enumerated objects, which were difficult to evaluate. Addressed in #20049. - Updated the terminal output generated in Cypress run mode to de-emphasis the
nodepath in the run header. Addressed in #20120.
Bugfixes:
- Fixed an issue where files attached during
.selectFile()could have the wrongFileprototype. Fixes #20003. - Updated
.select()to only dispatch thechangeandinputevents when the selected option is not the currently selected option. This change aligns.select()with the browser. Fixes #19494. - Updated
.type(' ')to align with the W3C standards where a click event should be dispatched when the Space key is pressed and the current focus is on a state-changing element with typebutton,image,submitorreset. Fixes #20067.
v9.4.1: 9.4.1
Released 1/31/2022
Bugfixes:
- Fixed a regression in 9.4.0 where the line endings in the public NPM package prevented some users from running Cypress. Fixes #19986.
v9.4.0: 9.4.0
Released 1/31/2022
Features
- Enhancements were made to
.selectFile()after receiving feedback after its initial release in 9.3.0.- The default behavior was updated to automatically infer the mime type of files based on their extension to correctly encode file uploads. Addressed in #19751.
- Added the
mimeTypeproperty so you can explicitly set the mime type on files using themimeTypeproperty. Addressed in #19751. - Updated file contents types to allow either a
TypedArrayinstance or aCypress.Bufferinstance, where previously file contents were expected to only be an instance ofCypress.Buffer. Addressed in #19751. - Updated
.selectFile()to retain the fileName of files read from disk to work with aliases. Addressed in #19803.
Bugfixes:
- Fixed a regression in 9.3.0 to correctly
parse the
--specCLI parameter for glob patterns containing a range. Fixes #19783. - Fixed regression in 9.2.1 where the
--openssl-legacy-providerflag was not being passed to the plugins' child process 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. - Update
cy.type('{enter}')to align with the W3C standards where a click event should be dispatched when the Enter key is pressed and the current focus is on astate-changing element with typebutton,image,submitorreset. Fixes #19541.
v9.3.1: 9.3.1
Released 1/19/2022
Bugfixes:
- Fixed an issue where the bin file was released with windows line breaks. Fixes #19747.
v9.3.0: 9.3.0
Released 1/18/2022
Features:
- Added a new Cypress command, called
.selectFile(), to select a file or files in an HTML5 input element or simulate dragging a file or files into the browser. The API is similar tocypress-file-uploadand we have provided a migration guide for previous users of that plugin. For more details, see our blog post. Fixes #19524 and #170. - Exposed the
Bufferpolyfill, asCypress.Buffer, to enable working with binary data. Addressed in #19524. - Added the
CYPRESS_DOWNLOAD_PATH_TEMPLATEenvironment variable which can be set 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:
- Fixed an issue where the
--specCLI parameter was not working properly when passing multiple glob patterns that are separated by commas. Fixes #16102. - Fixed an issue with how the
CYPRESS_VERIFY_TIMEOUTenvironment variable was read so it can set in a project'spackage.jsonor it's.npmrc. Fixes #19559.
Dependency Updates:
- Upgraded
graceful-fsfrom4.2.0to4.2.9. This upgrade resolves issues observed with using graceful-fs v4.2.0 with resolve v1.21+. Addressed in #19676 and resolves #19610.- NOTE: This upgrade to
graceful-fsbreaks Cypress's compatibility with Yarn 2. We have observed errors with Yarn 2.4.2 withgraceful-fs4.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.
- NOTE: This upgrade to
- Upgraded
electronfrom15.2.0to15.3.4. Addressed in #19351.
v9.2.1: 9.2.1
Released 1/10/2022
Bugfixes:
- Fixed a regression in 9.2.0 to keep
Cypress open after each spec finishes when the
--headed --no-exitflags are passed tocypress run. Fixes #19485. - Improve heuristic for verifying when the
--openssl-legacy-provideroption should 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. - Correctly cast the
CYPRESS_VERIFY_TIMEOUTenvironment variable as a number so Cypress will no longer throwTypeError: Expected the timeout option to be a non-negative integer. Fixes #19476.
Dependency Updates:
- Update pinned resolution of
cli-table3from~0.6.0to~0.6.1to avoid problems with the bug introduced in the colors.js v1.4.44-liberty-2 release. Addresses #19624.
v9.2.0: 9.2.0
Released 12/20/2021
Features:
- Cypress will throw an error when a user attempts to update a configuration
value at run-time using either the Test Configuration or using
Cypress.config()that is a readonly option. Addresses #6407 and #19001. - A
timeoutoption has been added to thecy.writeFile()command, with a default value ofdefaultCommandTimeout. Addresses #3350. - The default
maxHttpBufferSizefor the internal socket server has been increased to Node's maximum Buffer size (size varies by OS) to allow large file writes withcy.writeFile(). Addresses #19140. - Add
CYPRESS_VERIFY_TIMEOUTenvironment variable to override the timeout duration of theverifycommand. Addresses #18290.
Bugfixes:
- Prevent unnecessary snapshotting when running default assertions that would
unnecessarily increase CPU use in
cypress openmode which lead to out of memory crashes on certain browsers. Fixes #18549. - Removed automatic retries for failed HTTP requests through the proxy. This 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.
- Reduced the occurrence of an issue where logs for
fetchandxhrrequests could be associated with the wrong request. Fixes #19043. - Tests that are skipped within
thenblocks will no longer throw errors causing the test to fail. Tests that are skipped outside ofthenblocks will no longer trigger the fail event. This will prevent screenshots from happening from errors thrown by the fail event.Fixes #14867 and #17660. - Fixed a regression in 9.0.0 where a
fixture provided in a static response to
cy.intercept()did not support passingnullto 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 withutf8encoding. Fixes #19344. - Fixed a regression in 9.0.0 where
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. - Cypress will no longer crash when proxying an ill formed request. For example,
if the application under test has a resource of
"http: //localhost/asset.js"(notice the extraneous space), C
Configuration
📅 Schedule: Branch creation - "every weekend" in timezone America/New_York, Automerge - 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.
- [ ] If you want to rebase/retry this PR, check this box
This PR was generated by Mend Renovate. View the repository job log.