Commit 74416b6 1 parent f4a552e commit 74416b6 Copy full SHA for 74416b6
File tree 3 files changed +7
-4
lines changed
3 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,8 @@ property into the visited `text/html` pages. This is why navigations without the
26
26
use of the [ ` cy.origin() ` ] ( /api/commands/origin ) command are solely scope to the
27
27
same superdomain.
28
28
29
- ::include{ file = partials / document - domain - workaround .md }
29
+ <DocumentDomainWorkaround />
30
+
30
31
31
32
We understand this is a bit complicated to understand, so we have built a nifty
32
33
chart to help clarify the differences!
Original file line number Diff line number Diff line change 1
- < Alert type = " warning " >
1
+ :::caution
2
2
3
3
<strong class = " alert-header" ><Icon name = " exclamation-triangle" ></Icon > Disabling
4
- ` document.domain ` Injection</strong >
4
+ document.domain Injection</strong >
5
5
6
6
In some cases, ` document.domain ` injection may cause issues. As of Cypress
7
7
[ v12.4.0] ( https://on.cypress.io/changelog#12-4-0 ) , disabling ` document.domain `
@@ -10,4 +10,4 @@ read about this
10
10
[ experiment] ( /guides/references/experiments#Experimental-Skip-Domain-Injection )
11
11
for more information
12
12
13
- </ Alert >
13
+ :::
Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ import CypressConfigFileTabs from "@site/src/components/cypress-config-file-tabs
9
9
import DefaultSelectorPriority from "@site/docs/partials/_default-selector-priority.mdx" ;
10
10
import DocsImage from "@site/src/components/docs-image" ;
11
11
import DocsVideo from "@site/src/components/docs-video" ;
12
+ import DocumentDomainWorkaround from "@site/docs/partials/_document-domain-workaround.mdx"
12
13
import E2EOnlyBadge from "@site/src/components/e2e-only-badge" ;
13
14
import E2EOrCtTabs from "@site/src/components/e2e-or-ct-tabs" ;
14
15
import VueSyntaxTabs from "@site/src/components/vue-syntax-tabs" ;
@@ -119,6 +120,7 @@ export default {
119
120
DefaultSelectorPriority,
120
121
DocsImage,
121
122
DocsVideo,
123
+ DocumentDomainWorkaround,
122
124
E2EOnlyBadge,
123
125
E2EOrCtTabs,
124
126
VueSyntaxTabs,
You can’t perform that action at this time.
0 commit comments