From ee2f5ac48eb1d1cf46a6de3513e9d94e7f10fe5d Mon Sep 17 00:00:00 2001 From: Mike McCready <66998419+MikeMcC399@users.noreply.github.com> Date: Wed, 21 Feb 2024 16:40:47 +0100 Subject: [PATCH 001/165] Correct anchor link in Changelog 6.0.0 (#5693) --- docs/guides/references/changelog.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/guides/references/changelog.mdx b/docs/guides/references/changelog.mdx index 2494c911e4..248b5f8d8d 100644 --- a/docs/guides/references/changelog.mdx +++ b/docs/guides/references/changelog.mdx @@ -5173,7 +5173,7 @@ Cypress now offers full network stubbing support with the introduction of the [cy.intercept()](/api/commands/intercept) command (previously `cy.route2()`). With [cy.intercept()](/api/commands/intercept) your tests can intercept, modify and wait on any type of HTTP request originating from your app. See our guide on -[Migrating `cy.route()` to `cy.intercept()`](/guides/references/migration-guide#Migrating-cy-route-to-cy-intercept). +[Migrating `cy.route()` to `cy.intercept()`](/guides/references/migration-guide#Migrating-cyroute-to-cyintercept). **Breaking Changes:** @@ -5226,7 +5226,7 @@ deprecations. - `cy.server()` and `cy.route()` have been deprecated. In a future release, support for `cy.server()` and `cy.route()` will be removed. We encourage you to use [cy.intercept()](/api/commands/intercept) instead. See our guide on - [Migrating `cy.route()` to `cy.intercept()`](/guides/references/migration-guide#Migrating-cy-route-to-cy-intercept). + [Migrating `cy.route()` to `cy.intercept()`](/guides/references/migration-guide#Migrating-cyroute-to-cyintercept). Addressed in [#9185](https://github.com/cypress-io/cypress/pull/9185). - `experimentalFetchPolyfill` has been deprecated. We encourage you to use [cy.intercept()](/api/commands/intercept) to intercept requests using the From bffb7f5b7d65937968724bbf88b310a74177ae9f Mon Sep 17 00:00:00 2001 From: Mike McCready <66998419+MikeMcC399@users.noreply.github.com> Date: Wed, 21 Feb 2024 16:41:13 +0100 Subject: [PATCH 002/165] Adjust experimentalShadowDomSupport links for Changelog 4.x (#5696) --- docs/guides/references/changelog.mdx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/guides/references/changelog.mdx b/docs/guides/references/changelog.mdx index 248b5f8d8d..b77624ba62 100644 --- a/docs/guides/references/changelog.mdx +++ b/docs/guides/references/changelog.mdx @@ -6134,11 +6134,11 @@ _Released 7/7/2020_ - Using Cypress commands to traverse the DOM on an application with a global `parent` variable will no longer throw Illegal Invocation errors. Fixes [#6412](https://github.com/cypress-io/cypress/issues/6412). -- When [experimentalShadowDomSupport](/guides/references/experiments#Shadow-DOM) +- When `experimentalShadowDomSupport` is enabled, using [.type()](/api/commands/type) on an input in the Shadow DOM will not result in an error. Fixes [#7741](https://github.com/cypress-io/cypress/issues/7741). -- When [experimentalShadowDomSupport](/guides/references/experiments#Shadow-DOM) +- When `experimentalShadowDomSupport` is enabled, checking for visibility on a shadow dom host element will no longer hang if the host element was the foremost element and had an ancestor with fixed position. Fixes @@ -6188,7 +6188,7 @@ _Released 6/23/2020_ [#7590](https://github.com/cypress-io/cypress/issues/7590). - We fixed a regression in [4.8.0](#4-8-0) where [.click()](/api/commands/click) would hang if the subject had a shadow root and - [experimentalShadowDomSupport](/guides/references/experiments#Shadow-DOM) was + `experimentalShadowDomSupport` was not enabled. Fixes [#7679](https://github.com/cypress-io/cypress/issues/7679). - We fixed a regression in [4.6.0](#4-6-0) so that [`.should('have.value')`](/api/commands/should) now properly asserts against @@ -6204,7 +6204,7 @@ _Released 6/23/2020_ [Command Log](/guides/core-concepts/cypress-app#Command-Log) regardless of what is in the `beforeEach` hook. Fixes [#7731](https://github.com/cypress-io/cypress/issues/7731). -- When [experimentalShadowDomSupport](/guides/references/experiments#Shadow-DOM) +- When `experimentalShadowDomSupport` is enabled, querying shadow dom in certain situations will no longer cause the error `Cannot read property 'length' of undefined` during `cypress run`. Fixes [#7676](https://github.com/cypress-io/cypress/issues/7676). @@ -6271,8 +6271,8 @@ _Released 6/8/2020_ by clicking the file. Addresses [#7506](https://github.com/cypress-io/cypress/issues/7506). - We added experimental shadow DOM support through the - [experimentalShadowDomSupport](/guides/references/experiments#Shadow-DOM) - option. See the [Experiments page](/guides/references/experiments#Shadow-DOM) + `experimentalShadowDomSupport` + option. See the [Experiments page](/guides/references/experiments#History) for more information. Addresses [#144](https://github.com/cypress-io/cypress/issues/144). From fb529572bf5c807f309648c4e2b254c5ca5364f6 Mon Sep 17 00:00:00 2001 From: Mike McCready <66998419+MikeMcC399@users.noreply.github.com> Date: Wed, 21 Feb 2024 16:43:45 +0100 Subject: [PATCH 003/165] Remove "Run filtered specs" anchor link from Changelog 4.12.0 (#5694) --- docs/guides/references/changelog.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/guides/references/changelog.mdx b/docs/guides/references/changelog.mdx index b77624ba62..a02756e343 100644 --- a/docs/guides/references/changelog.mdx +++ b/docs/guides/references/changelog.mdx @@ -5955,7 +5955,7 @@ _Released 8/3/2020_ allow plugins to better target specific Cypress versions. Addresses [#6352](https://github.com/cypress-io/cypress/issues/6352). - During `cypress open`, you can now run a subset of all specs by - [entering a text search filter and clicking 'Run n tests'](/guides/core-concepts/writing-and-organizing-tests#Run-filtered-specs). + entering a text search filter and clicking 'Run n tests' Addresses [#6581](https://github.com/cypress-io/cypress/issues/6581). **Bugfixes:** From b90ccd48f162b10be4e47049f65b530a8b3109e0 Mon Sep 17 00:00:00 2001 From: Mike McCready <66998419+MikeMcC399@users.noreply.github.com> Date: Wed, 21 Feb 2024 16:44:11 +0100 Subject: [PATCH 004/165] Correct anchor link in Changelog 7.3.0 (#5691) --- docs/guides/references/changelog.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/guides/references/changelog.mdx b/docs/guides/references/changelog.mdx index a02756e343..2ed99460a8 100644 --- a/docs/guides/references/changelog.mdx +++ b/docs/guides/references/changelog.mdx @@ -4207,7 +4207,7 @@ _Released 05/10/2021_ logs. Addresses [#16236](https://github.com/cypress-io/cypress/issues/16236). - Cypress can now use the certificate authority specified in NPM config if `CYPRESS_DOWNLOAD_USE_CA` is specified. See - ["Using a custom CA"](/guides/getting-started/installing-cypress#Using-a-custom-CA) + ["Using a custom CA"](/guides/references/advanced-installation#Using-a-custom-certificate-authority-CA) for more information. Addresses [#8825](https://github.com/cypress-io/cypress/issues/8825). From 0025d534ff04198430d56e8b284d8aafe852b018 Mon Sep 17 00:00:00 2001 From: Mike McCready <66998419+MikeMcC399@users.noreply.github.com> Date: Wed, 21 Feb 2024 16:44:38 +0100 Subject: [PATCH 005/165] Correct anchor link in Changelog 7.0.0 (#5692) --- docs/guides/references/changelog.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/guides/references/changelog.mdx b/docs/guides/references/changelog.mdx index 2ed99460a8..be78cbd5b8 100644 --- a/docs/guides/references/changelog.mdx +++ b/docs/guides/references/changelog.mdx @@ -4504,7 +4504,7 @@ to Cypress 7.0.** [#8714](https://github.com/cypress-io/cypress/issues/8714). - The bundled Node.js version was upgraded from `12.18.3` to `14.16.0`. This could change the behavior of code within the `pluginsFile` when using the - [bundled Node.js version](/guides/references/configuration#Node-version) of + [bundled Node.js version](/guides/references/legacy-configuration#Node-version) of Cypress. Addressed in [#15292](https://github.com/cypress-io/cypress/pull/15292). - Installing Cypress on your system now requires Node.js 12+. Addresses From 72cf583f6bc97a6fb315c5596eae8b447550cd0c Mon Sep 17 00:00:00 2001 From: Mike McCready <66998419+MikeMcC399@users.noreply.github.com> Date: Wed, 21 Feb 2024 16:45:03 +0100 Subject: [PATCH 006/165] Correct anchor link in Changelog 9.3.0 (#5690) --- docs/guides/references/changelog.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/guides/references/changelog.mdx b/docs/guides/references/changelog.mdx index be78cbd5b8..a6cf01ed49 100644 --- a/docs/guides/references/changelog.mdx +++ b/docs/guides/references/changelog.mdx @@ -3307,7 +3307,7 @@ _Released 1/18/2022_ 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](/guides/getting-started/installing-cypress#Install-binary) + [Install Binary](/guides/references/advanced-installation#Install-binary) documentation. Fixes [#15697](https://github.com/cypress-io/cypress/issues/15697). From 745b98f9b73b731128a890d37595bd941b7fd361 Mon Sep 17 00:00:00 2001 From: Mike McCready <66998419+MikeMcC399@users.noreply.github.com> Date: Wed, 21 Feb 2024 16:49:11 +0100 Subject: [PATCH 007/165] Correct anchor link in Changelog 9.5.2 (#5689) --- docs/guides/references/changelog.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/guides/references/changelog.mdx b/docs/guides/references/changelog.mdx index a6cf01ed49..081aea270a 100644 --- a/docs/guides/references/changelog.mdx +++ b/docs/guides/references/changelog.mdx @@ -3130,7 +3130,7 @@ _Released 3/14/2022_ browser. Fixes [#20496](https://github.com/cypress-io/cypress/issues/20496). - Updates were made to the pre-release build setup such that Cypress will use a unique cache folder for each - [pre-release installation](/guides/getting-started/installing-cypress#Install-pre-release-version) + [pre-release installation](/guides/references/advanced-installation#Install-pre-release-version) on a machine. This removes the need to run `cypress clear cache` before 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. From 05d111b6cb4e3e5b199ae10908114c07bec0b13d Mon Sep 17 00:00:00 2001 From: Mike McCready <66998419+MikeMcC399@users.noreply.github.com> Date: Wed, 21 Feb 2024 18:00:26 +0100 Subject: [PATCH 008/165] Correct anchor link in Changelog 10.9.0 (#5688) --- docs/guides/references/changelog.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/guides/references/changelog.mdx b/docs/guides/references/changelog.mdx index 081aea270a..c3de7c1d8a 100644 --- a/docs/guides/references/changelog.mdx +++ b/docs/guides/references/changelog.mdx @@ -1794,7 +1794,7 @@ _Released 9/27/2022_ - Added support for requiring dependencies within the [`cy.origin()`](/api/commands/origin) callback. See the - [`cy.origin()`](/api/commands/origin#Dependencies-Sharing-Code) docs for more + [`cy.origin()`](/api/commands/origin#Dependencies--Sharing-Code) docs for more information. - Added support for visiting cross-origin pages outside of a [`cy.origin()`](/api/commands/origin) callback. See the From 678fd380ad0d7d22b89037ce80cb276aa2bff5b0 Mon Sep 17 00:00:00 2001 From: Mike McCready <66998419+MikeMcC399@users.noreply.github.com> Date: Wed, 21 Feb 2024 18:01:01 +0100 Subject: [PATCH 009/165] Correct anchor link in Changelog 12.0.0 (#5686) --- docs/guides/references/changelog.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/guides/references/changelog.mdx b/docs/guides/references/changelog.mdx index c3de7c1d8a..2b23ef3164 100644 --- a/docs/guides/references/changelog.mdx +++ b/docs/guides/references/changelog.mdx @@ -1311,7 +1311,7 @@ Read more about 12.0 in disabled, this changes how Cypress cleans up the browser context before each test and you may experience test errors with this upgrade. To better understand the full impact of this change, please review the - [migration guide](/guides/references/migration-guide#test-isolation). + [migration guide](/guides/references/migration-guide#Test-Isolation). - In Cypress v12, the `testIsolation` configuration values have changed from `on` or `off` to `true` or `false`. Addressed in [#24935](https://github.com/cypress-io/cypress/pull/24935). From 85c391d68754e05139cb1a868ed7c5d797cd1a6a Mon Sep 17 00:00:00 2001 From: Mike McCready <66998419+MikeMcC399@users.noreply.github.com> Date: Wed, 21 Feb 2024 18:04:03 +0100 Subject: [PATCH 010/165] Correct anchor links in Changelog 11.0.0 (#5687) --- docs/guides/references/changelog.mdx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/guides/references/changelog.mdx b/docs/guides/references/changelog.mdx index 2b23ef3164..998a5f75d8 100644 --- a/docs/guides/references/changelog.mdx +++ b/docs/guides/references/changelog.mdx @@ -1572,7 +1572,7 @@ to 84% faster startup times! **Breaking Changes:** **Read our -[Migration Guide](/guides/references/migration-guide#Migrating-to-Cypress-version-11-0) +[Migration Guide](/guides/references/migration-guide#Migrating-to-Cypress-110) which explains the breaking changes in more detail.** ###### Component Testing: @@ -1588,24 +1588,24 @@ which explains the breaking changes in more detail.** [#24329](https://github.com/cypress-io/cypress/issues/24329). - `mountHook` from `cypress/react` has been removed. We recommend replacing it with `mount` and a component. See - [migration guide](/guides/references/migration-guide#React-mountHook-Removed). + [migration guide](/guides/references/migration-guide#React---mountHook-Removed). Addresses [#24328](https://github.com/cypress-io/cypress/issues/24328). - `unmount` from `cypress/react` has been removed. We recommend using the API React provides for unmounting components, [unmountComponentAtNode](https://reactjs.org/docs/react-dom.html#unmountcomponentatnode). See - [migration guide](/guides/references/migration-guide#React-unmount-Removed). + [migration guide](/guides/references/migration-guide#React---unmount-Removed). Addresses [#24328](https://github.com/cypress-io/cypress/issues/24328). - `mountCallback` from `cypress/vue` has been removed. We recommend using `mount`. See - [migration guide](/guides/references/migration-guide#Vue-mountCallback-Removed). + [migration guide](/guides/references/migration-guide#Vue---mountCallback-Removed). Addresses [#24328](https://github.com/cypress-io/cypress/issues/24328). - `mount` from `cypress/vue` now returns an object with both the VueWrapper (wrapper) and the component instance (component). Addresses [#24342](https://github.com/cypress-io/cypress/issues/24342). - When providing an inline `viteConfig` inside of `cypress.config`, any `vite.config.js` file is not automatically merged. See - [migration guide](/guides/references/migration-guide#Vite-Dev-Server-cypress-vite-dev-server). + [migration guide](/guides/references/migration-guide#Vite-Dev-Server-cypressvite-dev-server). Addresses [#24133](https://github.com/cypress-io/cypress/issues/24133). - Angular providers passed as part of the mounting options will be assigned at the module level using the `TestBed.configureTestingModule` API. This means @@ -1614,7 +1614,7 @@ which explains the breaking changes in more detail.** specified in `@Component({ providers: [...] })` will not be overridden when using `cy.mount(MyComponent, { providers: [...] })`. To override component-level providers, use the `TestBed.overrideComponent` API. See - [migration guide](/guides/references/migration-guide#Angular-Providers-Mounting-Options-Change). + [migration guide](/guides/references/migration-guide#Angular---Providers-Mounting-Options-Change). Addresses [#24047](https://github.com/cypress-io/cypress/issues/24047) and [#23427](https://github.com/cypress-io/cypress/issues/23427). From 734ddbfb84944f68fdf8dffdc45f99d60ce29dbf Mon Sep 17 00:00:00 2001 From: Mike McCready <66998419+MikeMcC399@users.noreply.github.com> Date: Thu, 22 Feb 2024 15:57:19 +0100 Subject: [PATCH 011/165] Remove dead anchor link in API cy.origin() to Trade-offs / Multiple tabs (#5704) --- docs/api/commands/origin.mdx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/api/commands/origin.mdx b/docs/api/commands/origin.mdx index 831a239187..241eb9c26c 100644 --- a/docs/api/commands/origin.mdx +++ b/docs/api/commands/origin.mdx @@ -528,8 +528,7 @@ There are other testing scenarios which are not currently covered by - It cannot run commands [in a different browser window](/guides/references/trade-offs#Multiple-browsers-open-at-the-same-time) -- It cannot run commands - [in a different browser tab](/guides/references/trade-offs#Multiple-tabs) +- It cannot run commands in a different browser tab - It cannot run commands [inside an `