From 1e852ba20db298b490942ad68f7108c023e23c0b Mon Sep 17 00:00:00 2001 From: Jennifer Shehane Date: Tue, 4 Jun 2024 13:07:43 -0700 Subject: [PATCH] v13.11.0 (#5838) * Add note about how to set IGNORE_CHROME_PREFERENCES env var (#5822) * Add note about how to set IGNORE_CHROME_PREFERENCES env var * Add link to browser launch API from the 'launching browsers' guide * lint fix * chore: add changelog --------- Co-authored-by: AtofStryker --- docs/api/plugins/browser-launch-api.mdx | 6 ++++++ docs/guides/guides/launching-browsers.mdx | 5 +++++ docs/guides/references/changelog.mdx | 22 ++++++++++++++++++++++ 3 files changed, 33 insertions(+) diff --git a/docs/api/plugins/browser-launch-api.mdx b/docs/api/plugins/browser-launch-api.mdx index 59db1dffec..b5252f2b8b 100644 --- a/docs/api/plugins/browser-launch-api.mdx +++ b/docs/api/plugins/browser-launch-api.mdx @@ -151,6 +151,12 @@ Here are preferences available for the currently supported browsers: - Firefox: visit `about:config` URL within your Firefox browser to see all available preferences. +:::info + +If you want to ignore Chrome preferences altogether, you can set `IGNORE_CHROME_PREFERENCES` as an environment variable when running Cypress. + +::: + :::cypress-config-plugin-example ```js diff --git a/docs/guides/guides/launching-browsers.mdx b/docs/guides/guides/launching-browsers.mdx index 8ddeb44a5f..a2840d176d 100644 --- a/docs/guides/guides/launching-browsers.mdx +++ b/docs/guides/guides/launching-browsers.mdx @@ -434,3 +434,8 @@ the chrome of the browser. You'll always be able to visually distinguish these. ## Troubleshooting [Having issues launching installed browsers? Read more about troubleshooting browser launching](/guides/references/troubleshooting#Launching-browsers) + +## See also + +- [Browser Launch API](/api/plugins/browser-launch-api) +- [Cross browser Testing](/guides/guides/cross-browser-testing) diff --git a/docs/guides/references/changelog.mdx b/docs/guides/references/changelog.mdx index 8138ee15a2..51f14b8934 100644 --- a/docs/guides/references/changelog.mdx +++ b/docs/guides/references/changelog.mdx @@ -2,6 +2,28 @@ title: Changelog --- +## 13.11.0 + +_Released 6/4/2024_ + +**Performance:** + +- Improved performance when setting console props within `Cypress.log`. Addressed in [#29501](https://github.com/cypress-io/cypress/pull/29501). + +**Features:** + +- Added support for [Next.js 14](https://nextjs.org/blog/next-14) for component testing. Addresses [#28185](https://github.com/cypress-io/cypress/issues/28185). +- Added an `IGNORE_CHROME_PREFERENCES` environment variable to ignore Chrome preferences when launching Chrome. Addresses [#29330](https://github.com/cypress-io/cypress/issues/29330). + +**Bugfixes:** + +- Fixed a situation where the Launchpad would hang if the project config had not been loaded when the Launchpad first queries the current project. Fixes [#29486](https://github.com/cypress-io/cypress/issues/29486). +- Pre-emptively fix behavior with Chrome for when `unload` events are forcefully deprecated by using `pagehide` as a proxy. Fixes [#29241](https://github.com/cypress-io/cypress/issues/29241). + +**Misc:** + +- Enhanced the type definitions available to [`cy.intercept()`](/api/commands/intercept) and [`cy.wait()`](/api/commands/wait). The `body` property of both the request and response in an interception can optionally be specified with user-defined types. Addresses [#29507](https://github.com/cypress-io/cypress/issues/29507). + ## 13.10.0 _Released 5/21/2024_