Skip to content

Commit 2215de7

Browse files
authored
Merge pull request #5171 from rick-a-lane-ii/main
Fix the use of the #Visiting-External-Sites anchor
2 parents d8d32b1 + 60af8b9 commit 2215de7

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

docs/faq/questions/using-cypress-faq.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -665,7 +665,7 @@ For further detail see the
665665

666666
Don't try to use your UI to check email. Instead opt to programmatically use 3rd
667667
party APIs or talk directly to your server. Read about this
668-
[best practice](/guides/references/best-practices#Visiting-external-sites) here.
668+
[best practice](/guides/references/best-practices#Visiting-External-Sites) here.
669669

670670
:::
671671

docs/guides/guides/cross-origin-testing.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ than your superdomain, which can be safely tested with
129129

130130
We've written several other guides specifically about handling this situation.
131131

132-
- [Best Practices: Visiting external sites](/guides/references/best-practices#Visiting-external-sites)
132+
- [Best Practices: Visiting external sites](/guides/references/best-practices#Visiting-External-Sites)
133133
- [Web Security: Common Workarounds](/guides/guides/web-security#Common-Workarounds)
134134
- [Recipes: Logging In - Single Sign On](/examples/recipes#Logging-In)
135135
- [Guides: Amazon Cognito Authentication](/guides/end-to-end-testing/amazon-cognito-authentication)

docs/guides/guides/web-security.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ cy.get('selector').should('exist') // Cypress errors
226226

227227
We do not recommend visiting a superdomain that you don't control in your tests
228228
which you can read more about
229-
[here](/guides/references/best-practices#Visiting-external-sites)
229+
[here](/guides/references/best-practices#Visiting-External-Sites)
230230

231231
However, if you control this superdomain, either by owning the hosted instance
232232
or by other means, we recommend testing this superdomain with `cy.origin`.
@@ -395,7 +395,7 @@ cy.origin('http://some.superdomain.com', () => {
395395
Sometimes, when using `cy.origin` and especially with websites that are not
396396
under your immediate test control, cross-origin errors may still tend to creep
397397
up. We don't recommend visiting or interacting with sites you
398-
[do not control](/guides/references/best-practices#Visiting-external-sites).
398+
[do not control](/guides/references/best-practices#Visiting-External-Sites).
399399
However, if this is necessary, most of these issues can usually be remedied by
400400
applying` the
401401
[modify obstructive third-party code](/guides/references/experiments#Configuration)

0 commit comments

Comments
 (0)