Bump @cypress/react from 6.0.0 to 7.0.3
Bumps @cypress/react from 6.0.0 to 7.0.3.
Release notes
Sourced from @cypress/react's releases.
7.0.1
Released 04/07/2021
Bugfixes:
- Fixed a regression in 7.0.0 that caused the test runner not to check for updates. Fixes #15829.
- The component testing spec list search input no longer throws an exception when hitting
Enter. Addressed in #15833.- The preferred file opener modal no longer appears behind the command log. Addressed in #15831.
- Cypress no longer crashes in certain circumstances when running in Docker without
--ipc=host. Fixes #15814 and #350.- Node.js warnings are no longer incorrectly printed to
stderrin production builds of Cypress. Addressed in #15817.- Cypress no longer prints a warning to
stdoutwhen the video cannot be found after a run. Addressed in #15828.- A warning is no longer displayed when running a TypeScript spec without a
tsconfig.jsonfile present. Addressed in #15828.Misc:
- The "New Spec File" in the Desktop GUI has a less pronounced style. Addressed in #15835.
7.0.0
Released 04/05/2021
Summary:
🎉 Introducing the Cypress Component Test Runner - now in alpha. Today's release includes a brand new test runner designed to replace your Node-based component tests. Our Component Test Runner tests your components in the browser, just like a user would. And, since it runs in the browser, you get to debug your components using your favorite developer tools. Read our Component Testing Guide for more details.
Breaking Changes:
Please read our Migration Guide which explains the changes in more detail and how to change your code to migrate to Cypress 7.0.
- We introduced several breaking changes to cy.intercept(). See the https://github.com/cypress-io/cypress/blob/HEAD[https://github.com/cypress-io/cypress/blob/HEADchttps://github.com/cypress-io/cypress/blob/HEADyhttps://github.com/cypress-io/cypress/blob/HEAD.https://github.com/cypress-io/cypress/blob/HEADihttps://github.com/cypress-io/cypress/blob/HEADnhttps://github.com/cypress-io/cypress/blob/HEADthttps://github.com/cypress-io/cypress/blob/HEADehttps://github.com/cypress-io/cypress/blob/HEADrhttps://github.com/cypress-io/cypress/blob/HEADchttps://github.com/cypress-io/cypress/blob/HEADehttps://github.com/cypress-io/cypress/blob/HEADphttps://github.com/cypress-io/cypress/blob/HEADthttps://github.com/cypress-io/cypress/blob/HEAD(https://github.com/cypress-io/cypress/blob/HEAD)https://github.com/cypress-io/cypress/blob/HEAD]https://github.com/cypress-io/cypress/blob/HEAD(https://github.com/cypress-io/cypress/blob/HEAD/https://github.com/cypress-io/cypress/blob/HEADahttps://github.com/cypress-io/cypress/blob/HEADphttps://github.com/cypress-io/cypress/blob/HEADihttps://github.com/cypress-io/cypress/blob/HEAD/https://github.com/cypress-io/cypress/blob/HEADchttps://github.com/cypress-io/cypress/blob/HEADohttps://github.com/cypress-io/cypress/blob/HEADmhttps://github.com/cypress-io/cypress/blob/HEADmhttps://github.com/cypress-io/cypress/blob/HEADahttps://github.com/cypress-io/cypress/blob/HEADnhttps://github.com/cypress-io/cypress/blob/HEADdhttps://github.com/cypress-io/cypress/blob/HEADshttps://github.com/cypress-io/cypress/blob/HEAD/https://github.com/cypress-io/cypress/blob/HEADihttps://github.com/cypress-io/cypress/blob/HEADnhttps://github.com/cypress-io/cypress/blob/HEADthttps://github.com/cypress-io/cypress/blob/HEADehttps://github.com/cypress-io/cypress/blob/HEADrhttps://github.com/cypress-io/cypress/blob/HEADchttps://github.com/cypress-io/cypress/blob/HEADehttps://github.com/cypress-io/cypress/blob/HEADphttps://github.com/cypress-io/cypress/blob/HEADthttps://github.com/cypress-io/cypress/blob/HEAD)https://github.com/cypress-io/cypress/blob/HEAD docs for full usage examples. Breaking changes:
- Request handlers supplied to
cy.intercept()are now matched starting with the most recently defined request interceptor. This allows users to override request handlers by callingcy.intercept()again. This matches the previous behavior that was default incy.route(). Addresses #9302.cy.intercept()now automatically parses more JSON MIME types, including 'application/vnd.api+json'. You can now removeJSON.parse(req.body)orJSON.parse(res.body)from some tests that previously required it. Addresses #14763.- Falsy values (with the exception of
undefined) supplied as the body of aStaticResponsetocy.intercept()will now be JSONified and sent as the body. Previously, an empty string was sent instead. Addresses #15234 and #14205.- The
matchUrlAgainstPathRouteMatcherproperty has been removed fromcy.intercept().- The "substring match" from
cy.intercept()URL matching has been removed. Previously, a URL would match if it contained the supplied string anywhere. Now, the URL (including querystring) only matches if it is an equality match or a minimatch.- The
delayoption for StaticResponses used withcy.intercept()has been removed. Please go back to using thedelayMSoption. Addresses #15255.cy.route2()was previously aliased tocy.intercept(). Now the aliascy.route2()has been removed. Please update usage ofcy.route2()tocy.intercept(). Addressed in #14709.- Component tests have been migrated to use a dedicated test runner and are bundled differently. See the Migration Guide for full examples on how to migrate. Addressed in #14479.
- Component tests will not be executed when running
cypress openorcypress run. Now, they need to be executed by runningcypress open-ctorcypress run-ct. Addressed in #15701.experimentalComponentTestingmust be removed from yoru configuration file,cypress.jsonby default, or it will throw an error. Addressed in #15701.- The
file:preprocessorevent is no longer used to compile component tests. Now, adev-server:startevent must be registered.- Cypress now catches uncaught errors and fails the test even if the application under test has defined
window.onerror. Addresses #8802.- Cypress now fails tests if there is an unhandled promise rejection in the application under test. Unhandled rejections will trigger the
uncaught:exceptionevent with the promise as the third argument. Addresses #243.- Cypress now throws an error if the application under test redirects more than 20 times. The number of times allowed to redirect is configurable via the
redirectionLimitconfig. Addresses #14445.- The default preprocessor now targets a more modern version of ECMAScript. Addressed in #15274.
- We now enable
contextIsolationby default in the Electron browser. You can override this option if needed within thebefore:browser:launchAPI. Addressed in #15493.Cypress.moment()has been removed. Please migrate to a different datetime formatter. See our recipe for example replacements. Addresses #8714.- The bundled Node.js version was upgraded from
12.18.3to14.16.0. This could change the behavior of code within thepluginsFilewhen using the bundled Node.js version of Cypress. Addressed in #15292.- Installing Cypress on your system now requires Node.js 12+. Addresses #9545.
- The default headless browser window size has been increased to 1920x1080 pixels to capture High-definition videos and screenshots. Addresses #15752, #15730, and #15481.
... (truncated)
Commits
ba4f722chore: release@cypress/react-v7.0.33a2b2d3fix(vite-dev-server): do not use incremental esbuild option with Vite v4.2.0+...a63a474chore(deps): update dependency loader-utils to v2.0.3 [security] - abandoned ...b01fcafchore: Update Chrome (stable) to 111.0.5563.64 and Chrome (beta) to 112.0.561...6397ac6fix: Vite dev server add searchForWorkspaceRoot (#26036)ea8173ffeat: support custom workspaceRoot for angular CT (#26030)cfd4088chore: ensure that current version is loaded before taking snapshot of launch...94c34e9chore: link to the dependency dashboard to cypress-example-docker-compose (#2...86175a9chore: bump version to 12.8.1 and ready CHANGELOG (#26125)ef430e9fix: do not magically set user preferences for auto-scroll (#26102)- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)