diff --git a/docs/source/api/commands/and.md b/docs/source/api/commands/and.md index 80f217b957..9b41dc9280 100644 --- a/docs/source/api/commands/and.md +++ b/docs/source/api/commands/and.md @@ -7,7 +7,7 @@ description: '' Make an assertion. {% note info %} -An alias of [`.should()`](https://on.cypress.io/api/and) +An alias of [`.should()`](https://on.cypress.io/api/should) {% endnote %} {% note info %} diff --git a/docs/source/api/commands/hash.md b/docs/source/api/commands/hash.md index 389a125c10..953a9345be 100644 --- a/docs/source/api/commands/hash.md +++ b/docs/source/api/commands/hash.md @@ -7,7 +7,7 @@ description: '' Get the current URL hash. {% note info %} -This is an alias of [`cy.location().hash`](https://on.cypress.io/api/location) +This is an alias of [`cy.location('hash')`](https://on.cypress.io/api/location) {% endnote %} # Syntax