Skip to content

Commit 9a2dc0a

Browse files
authored
docs: harmonize on injectDocumentDomain removal in future version (#6154)
1 parent f254b4b commit 9a2dc0a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

docs/app/references/configuration.mdx

+2-2
Original file line numberDiff line numberDiff line change
@@ -599,7 +599,7 @@ or [`component`](#component) testing-specific options.
599599

600600
### injectDocumentDomain
601601

602-
This option is <Badge type="caution">deprecated</Badge>, and will be removed in Cypress. 15
602+
This option is <Badge type="caution">deprecated</Badge>, and will be removed in a future version of Cypress.
603603

604604
Set this configuration option to `true` to instruct Cypress to
605605
[inject document.domain](/app/guides/cross-origin-testing#What-Cypress-does-under-the-hood)
@@ -608,7 +608,7 @@ between subdomains](/app/guides/cross-origin-testing), but comes with compatibil
608608
caveats for some sites.
609609

610610
This configuration option is provided to ease the transition between `cy.origin()`'s behavior
611-
in Cypress 13 and the default behavior in Cypress 14. It will be removed in a future version of Cypress.
611+
in Cypress 13 and the default behavior in Cypress 14.
612612
[Read the Cypress 14 migration guide](/app/references/migration-guide#Migrating-to-Cypress-140) to understand how to update your tests to remove
613613
the need to set this flag.
614614

docs/app/references/migration-guide.mdx

+2-2
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,8 @@ is set to true, `cy.origin()` will not be required to navigate between origins,
8383
<Icon name="exclamation-triangle" /> If `injectDocumentDomain` is set to `true`,
8484
Cypress will warn that this option is deprecated.
8585

86-
<Icon name="exclamation-triangle" /> `injectDocumentDomain` will be removed in Cypress
87-
15.
86+
<Icon name="exclamation-triangle" /> `injectDocumentDomain` will be removed in a
87+
future version of Cypress.
8888

8989
<Icon name="exclamation-triangle" /> Setting `injectDocumentDomain` to `true` may
9090
cause certain sites to stop working in Cypress. Please read the [configuration notes](/app/references/configuration#injectDocumentDomain)

0 commit comments

Comments
 (0)